diff --git a/.github/workflows/main-publish.yml b/.github/workflows/main-publish.yml index bc7aa75..200fe87 100644 --- a/.github/workflows/main-publish.yml +++ b/.github/workflows/main-publish.yml @@ -13,7 +13,6 @@ env: jobs: build_site: runs-on: ubuntu-latest - if: false steps: - name: Checkout uses: actions/checkout@v4 @@ -46,6 +45,23 @@ jobs: # this should match the `pages` option in your adapter-static options path: 'build/' + deploy: + needs: build_site + runs-on: ubuntu-latest + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy + id: deployment + uses: actions/deploy-pages@v4 + docker: needs: build_site runs-on: ubuntu-latest diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 860ca5d..ed11180 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -120,6 +120,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} deploy: + if: false needs: build_site runs-on: ubuntu-latest