diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c5d66ef..6807eee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: - name: Create deployment if: inputs.use-deployment-api id: deployment - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const deployment = await github.rest.repos.createDeployment({ @@ -95,7 +95,7 @@ jobs: - name: Update deployment status (success) if: success() && inputs.use-deployment-api - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.repos.createDeploymentStatus({ @@ -109,7 +109,7 @@ jobs: - name: Update deployment status (failure) if: failure() && inputs.use-deployment-api - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | await github.rest.repos.createDeploymentStatus({ diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index bfcf289..3884206 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -91,7 +91,7 @@ jobs: caddy reload --config /etc/caddy/Caddyfile - name: Post preview URL - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const previewDomain = `pr-${{ github.event.number }}.preview.${{ secrets.PREVIEW_DOMAIN }}`;