Skip to content

Commit

Permalink
ci: test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
redonkulus committed Sep 17, 2024
1 parent ed0f5d4 commit 1b5761b
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,27 @@ jobs:
run: npm install
- name: Build code
run: npm run build
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
uses: actions/configure-pages@v5
# - name: Build with Jekyll
# uses: actions/jekyll-build-pages@v1
# with:
# source: ./docs
# destination: ./_site
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
run: bundle exec jekyll build -s ./docs -b "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site

# Deployment job
deploy:
Expand Down

0 comments on commit 1b5761b

Please sign in to comment.