diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 57e1f6a..90a0f4c 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -53,14 +53,14 @@ jobs: uses: actions/upload-pages-artifact@v3 # Deployment job -deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - if: github.repository == 'c-ares/c-ares.github.io' && github.refs == 'refs/heads/main' - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + if: github.repository == 'c-ares/c-ares.github.io' && github.refs == 'refs/heads/main' + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4