diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c60b903..b945457 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,14 +46,11 @@ jobs: ./dist => /webroot/ delete: true - - name: Update GitHub deployment status + - name: Mark deployment as successful if: success() uses: octokit/request-action@v2.x with: - route: POST /repos/${{ github.repository }}/deployments/${{ steps.create_deployment.outputs.data.id }}/statuses + route: POST /repos/${{ github.repository }}/deployments/${{ steps.create_deployment.outputs.deployment_id }}/statuses state: success environment: production - environment_url: https://mrqt.fr - log_url: https://mrqt.fr - description: Deployment succeeded - auto_inactive: true \ No newline at end of file + log_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \ No newline at end of file