Skip to content

Commit b967e32

Browse files
committed
misc: add argocd deployment pipeline
1 parent 918dec5 commit b967e32

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pipeline.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,19 @@ jobs:
4444
push: true
4545
tags: ${{ steps.meta.outputs.tags }}
4646
labels: ${{ steps.meta.outputs.labels }}
47+
48+
- name: Trigger deployment
49+
uses: actions/github-script@v7
50+
with:
51+
github-token: ${{ secrets.PAT_TOKEN }}
52+
script: |
53+
await github.rest.actions.createWorkflowDispatch({
54+
owner: 'pscheid92',
55+
repo: 'deployments',
56+
workflow_id: 'dispatch.yaml',
57+
ref: 'main',
58+
inputs: {
59+
application: "blog",
60+
tag: "${{ steps.meta.outputs.tags }}"
61+
}
62+
})

0 commit comments

Comments
 (0)