2 months ago
I am trying to use your template/example to run a GitHub action after a successful deployment (https://docs.railway.com/tutorials/github-actions-post-deploy) and I am running into issues. The action never runs and just says 'skipped'. This is the header of my Action with the relevant details:
```yaml
name: Publish Client to NPM
on:
deployment_status:
states: [success]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.event.deployment_status.state == 'success' && github.event.deployment.environment == 'production' && github.event.deployment.payload.serviceId == 'MY_SERVICE_ID'
```
As soon as railway starts to deploy the commit, the action just says 'Skipped'. Am I missing something?
1 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
Status changed to Solved ethndotsh • 2 months ago