diff --git a/.github/workflows/production-deploy.yml b/.github/workflows/production-deploy.yml new file mode 100644 index 0000000..61e3426 --- /dev/null +++ b/.github/workflows/production-deploy.yml @@ -0,0 +1,19 @@ +name: Production Deploy + +on: + push: + branches: ["main", "master"] + workflow_dispatch: + +permissions: + contents: read + +jobs: + deploy: + uses: nppweb/infra/.github/workflows/deploy.yml@main + with: + repo_name: npp-backend + branch: ${{ github.ref_name }} + target_sha: ${{ github.sha }} + auto_rollback: true + secrets: inherit