ci: bump patch version to 4.0.4 #32
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: Deploy Notification To authoring production create.phcode.dev | |
| # Please note to add branch protection rules for the prod branch in your repository. | |
| on: | |
| push: | |
| branches: [ prod ] | |
| jobs: | |
| build-tasks: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: setup node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| - name: Npm Install | |
| run: | | |
| npm ci | |
| - name: Verifying release artifact build | |
| run: | | |
| npm run release:prod | |
| - name: Deploy Notification To authoring production repository create.phcode.dev | |
| uses: peter-evans/repository-dispatch@v2 | |
| with: | |
| token: ${{ secrets.PAT_PHOENIX_BOT_PUBLIC_REPO_ACCESS }} | |
| repository: phcode-dev/create.phcode.dev | |
| event-type: deploy-production-create | |
| client-payload: '{"source":"${{github.repositoryUrl}}", "workflow":"${{github.workflow}}", "run_id":"${{github.run_id}}", "run_number":"${{github.run_number}}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |