From 8b7ba865cbd992237ea1ca6a3dbc2cb0971269c1 Mon Sep 17 00:00:00 2001 From: Maxwell Brown Date: Fri, 10 Nov 2023 15:35:23 -0500 Subject: [PATCH] simplify the github pages ci workflow --- .github/workflows/pages.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 626c910..0a5654b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -12,8 +12,8 @@ concurrency: cancel-in-progress: true jobs: - generate: - name: Generate + build: + name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -24,19 +24,14 @@ jobs: with: cachixAuthToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - run: pnpm docgen - - build: - name: Build - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - needs: generate - steps: - name: Build pages Jekyll + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: actions/jekyll-build-pages@v1 with: source: ./docs destination: ./_site - name: Upload pages artifact + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v2 deploy: