diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml index b0d55d0..04666cf 100644 --- a/.github/workflows/housekeeping.yml +++ b/.github/workflows/housekeeping.yml @@ -80,7 +80,20 @@ jobs: github_token: ${{ secrets.GH_TOKEN }} branch: ${{ github.ref }} - - name: Deploy GitHub Pages site - uses: actions/deploy-pages@v4.0.5 - with: - token: ${{ secrets.GH_TOKEN }} + deploy-pages: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: 'docs' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2