Skip to content

Commit

Permalink
Add trigger for GCP Marketplace repo (#4829)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored and pdabelf5 committed Jan 9, 2024
1 parent 6ea56e1 commit d5da52c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -501,3 +501,24 @@ jobs:
},
})
if: github.ref_type == 'tag'

gcp-marketplace:
name: Trigger PR for GCP Marketplace
runs-on: ubuntu-22.04
needs: [checks, publish-helm]
steps:
- name:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.NGINX_PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'kubernetes-ingress-gcp',
workflow_id: 'sync-chart.yml',
ref: 'main',
inputs: {
chart_version: '${{ needs.checks.outputs.chart_version }}'
},
})
if: github.ref_type == 'tag'

0 comments on commit d5da52c

Please sign in to comment.