Open drewbietron opened 10 months ago
Try using deployment_id: ${{ steps.deployment.outputs.deployment_id }}
- name: update deployment status
uses: bobheadxi/deployments@v1.4.0
if: always()
with:
step: finish
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
env: ${{ steps.deployment.outputs.env }}
I am updating this to version 1 and am having trouble with the deployment_id. I have tried many combinations of values for it and I cannot seem to get this to work. I have tried (or thought I did) what the docs explain, as well as trying other values. The closest I've got is just by hardcoding a value (eg 123) as the deployment_id, but that throws other errors.
Here is my current config
The output for the debug is
deployment_id isnt there. Its there if I hard code 123 but my suspicion is that what Im using for the deployment_id isnt a thing.
When I try a value that shows up in debug (eg
deployment_id: ${{ github.ref }}
), I get the following errorAny help would be appreciated 🙏