fix 8764 - changed all dev urls to release 3 #251
Workflow file for this run
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
| name: Netlify Draft Deploy | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| jobs: | |
| build-and-deploy: | |
| if: ${{ github.event.pull_request.base.repo.clone_url == github.event.pull_request.head.repo.clone_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Build Artifacts | |
| uses: ./.github/actions/build-artifacts | |
| with: | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| - name: Netlify Deploy | |
| uses: netlify/actions/cli@master | |
| id: netlify | |
| env: | |
| NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
| NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} | |
| with: | |
| args: deploy --dir=build --no-build | |
| - name: Find comment | |
| uses: peter-evans/find-comment@v4 | |
| id: fc | |
| with: | |
| issue-number: ${{ github.event.pull_request.number }} | |
| comment-author: 'github-actions[bot]' | |
| body-includes: Netlify Draft Deployment | |
| - name: Create or update comment | |
| uses: peter-evans/create-or-update-comment@v5 | |
| with: | |
| comment-id: ${{ steps.fc.outputs.comment-id }} | |
| issue-number: ${{ github.event.pull_request.number }} | |
| body: | | |
| Netlify Draft Deployment | |
| URL: ${{ steps.netlify.outputs.NETLIFY_URL }} | |
| Logs: ${{ steps.netlify.outputs.NETLIFY_LOGS_URL }} | |
| edit-mode: replace |