diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index ee03d5b..a5489f6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -36,27 +36,27 @@ jobs: working-directory: docs steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v3 - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1' # 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' + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1' # 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: Setup Pages - id: pages - uses: actions/configure-pages@v3 + id: pages + uses: actions/configure-pages@v3 - 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 + # 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@v1 - with: - path: "docs/_site/" + uses: actions/upload-pages-artifact@v1 + with: + path: "docs/_site/" # Deployment job deploy: