diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 30f02770bcd..dd3e3c8b0e6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,22 +31,19 @@ jobs: bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 1 # Increment this number if you need to re-download cached gems working-directory: docs/ + - name: Build with Jekyll + run: | + cd docs + jekyll build - name: Setup Pages id: pages uses: actions/configure-pages@v2 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: docs/ - destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v1 + path: docs/_site/ deploy: if: github.ref == 'refs/heads/main' - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: