update internet check url #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/deploy-main.yaml | |
| name: Build and Deploy Main Branch | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/reusable-build.yaml | |
| # This job gets the environment URL and triggers the build | |
| deploy: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |