We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c8f821 commit d0d3e37Copy full SHA for d0d3e37
.github/workflows/build.yaml .github/workflows/deploy-ha.yaml.github/workflows/build.yaml renamed to .github/workflows/deploy-ha.yaml
@@ -25,3 +25,16 @@ jobs:
25
git add app/build
26
git commit -m "ci: update build artifacts" || echo "Nothing to commit"
27
git push origin build --force
28
+
29
+ trigger:
30
+ runs-on: self-hosted
31
+ if: ${{ github.ref == 'refs/heads/deploy-test' || github.ref == 'refs/heads/master' }}
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+ - name: Trigger Job
35
+ run: |
36
+ NS="default"
37
+ JOB="ccl-website-sync-${GITHUB_SHA::7}"
38
+ kubectl -n "$NS" delete job -l app=ccl-website,created-by=github-runner --ignore-not-found=true
39
+ kubectl -n "$NS" create job "$JOB" --from=cronjob/ccl-website-sync
40
+ kubectl -n "$NS" label job "$JOB" app=ccl-website created-by=github-runner --overwrite
0 commit comments