name: Deploy Notification To dev.phcode.dev on: push: branches: [ main ] jobs: build-tasks: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Npm Install run: | npm ci - name: Verifying release artifact build env: PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }} PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }} run: | npm run release:dev - name: Deploy Notification To dev.phcode.dev repository uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.PAT_PHOENIX_BOT_PUBLIC_REPO_ACCESS }} repository: phcode-dev/dev.phcode.dev event-type: deploy-dev client-payload: '{"source":"${{github.repositoryUrl}}", "workflow":"${{github.workflow}}", "run_id":"${{github.run_id}}", "run_number":"${{github.run_number}}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'