diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c0cb118..4bfa043 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -32,8 +32,6 @@ jobs: FAUST_GITHUB_BRANCH: ${{ github.event.repository.default_branch }} FAUST_SITE: https://${{ github.repository_owner }}.github.io FAUST_BASE: /${{ github.event.repository.name }} - - if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch - uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 - if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 with: @@ -51,6 +49,9 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: + # Repository Pages settings must use GitHub Actions as the source. + - name: Configure GitHub Pages + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4