Skip to content

Commit

Permalink
Finish v7 upgrade github-script-poc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daveboster authored Nov 24, 2023
1 parent ca88d70 commit 535bb07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-script-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
run: echo "deployment_url=${{ env.environment_url }}" >> "$GITHUB_OUTPUT"

- name: Create Sample Deployment Status (completed)
uses: actions/github-script@v4
uses: actions/github-script@v7
id: github-deployment-completed
with:
script: |
const deploymentStatus = await github.repos.createDeploymentStatus({
const deploymentStatus = await github.rest.repos.createDeploymentStatus({
owner: context.repo.owner,
repo: context.repo.repo,
deployment_id: "${{ steps.github-deployment-create.outputs.id }}",
Expand Down

0 comments on commit 535bb07

Please sign in to comment.