Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Create GitHub Deployment (Staging)
if: github.ref == 'refs/heads/staging'
id: deployment_staging
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const deployment = await github.rest.repos.createDeployment({
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Create GitHub Deployment (Production)
if: github.ref == 'refs/heads/main'
id: deployment_production
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const deployment = await github.rest.repos.createDeployment({
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:

- name: Update Deployment Status (Staging Success)
if: github.ref == 'refs/heads/staging' && success()
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.repos.createDeploymentStatus({
Expand All @@ -128,7 +128,7 @@ jobs:

- name: Update Deployment Status (Production Success)
if: github.ref == 'refs/heads/main' && success()
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.repos.createDeploymentStatus({
Expand All @@ -142,7 +142,7 @@ jobs:

- name: Update Deployment Status (Staging Failure)
if: github.ref == 'refs/heads/staging' && failure() && steps.deployment_staging.outputs.result
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.repos.createDeploymentStatus({
Expand All @@ -155,7 +155,7 @@ jobs:

- name: Update Deployment Status (Production Failure)
if: github.ref == 'refs/heads/main' && failure() && steps.deployment_production.outputs.result
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.repos.createDeploymentStatus({
Expand Down