Skip to content

Modified deployment workflow file in order to check if it is correctl… #1

Modified deployment workflow file in order to check if it is correctl…

Modified deployment workflow file in order to check if it is correctl… #1

Workflow file for this run

# This workflow runs whenever an already published package gets updated,

Check failure on line 1 in .github/workflows/deployment.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deployment.yaml

Invalid workflow file

`package` is not a valid event name
# which would happen after the respective image has been built and
# pushed to the registry
name: Deployment to staging environment
on:
package:
types:
- published
- updated
concurrency: staging
jobs:
initiate-deployment:
runs-on: ubuntu-22.04
environment: staging
steps:
- name: Invoke deployment hook
uses: distributhor/workflow-webhook@v3
with:
webhook_url: ${{ secrets.STAGING_WEBHOOK_URL }}
webhook_secret: ${{ secrets.STAGING_WEBHOOK_SECRET }}
webhook_type: json