From e6a47e78456d3abae8aec27d2ed3220653e08f95 Mon Sep 17 00:00:00 2001 From: Adam Marcus Date: Mon, 6 Mar 2023 16:46:50 -0500 Subject: [PATCH] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3010a53..effca4f 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -30,15 +30,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Set up Pages + uses: actions/configure-pages@v3 - name: Set up mdBook uses: peaceiris/actions-mdbook@v1 with: mdbook-version: 'latest' - - run: mdbook build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: 'book' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./book