Skip to content

Commit

Permalink
let's try that
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaSeep committed Jun 28, 2024
1 parent 6b2f5eb commit 2a69f56
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,37 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- 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
working-directory: '${{ github.workspace }}/docs'

- name: Configure Bundler
run: |
bundle config --local path vendor/bundle
bundle config --local deployment true
bundle lock --add-platform x86_64-linux
- name: Install dependencies
run: bundle install --jobs 4

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: "docs/_site/"
path: "_site/"

# Deployment job
deploy:
Expand Down

0 comments on commit 2a69f56

Please sign in to comment.