Skip to content

Commit

Permalink
Add reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolas Philips committed Nov 6, 2023
1 parent 3ef66ef commit 7e9b4b1
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,27 @@ jobs:
- name: Wait 1min for chart
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
run: sleep 60
- name: Reload warehouse
- name: Reload warehouse kargo-demo-simple
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
uses: actions-hub/kubectl@master
env:
KUBE_HOST: ${{ secrets.KUBE_HOST }}
KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}
with:
args: annotate warehouse demo-app-simple -n demo-app-simple-stages reload=${{ github.sha }} --overwrite
args: annotate warehouse kargo-demo-simple -n kargo-demo-simple-stages reload=${{ github.sha }} --overwrite
- name: Reload warehouse kargo-demo-helm
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
uses: actions-hub/kubectl@master
env:
KUBE_HOST: ${{ secrets.KUBE_HOST }}
KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}
with:
args: annotate warehouse kargo-demo-helm -n kargo-demo-helm-stages reload=${{ github.sha }} --overwrite
- name: Reload warehouse kargo-demo-kustomize
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
uses: actions-hub/kubectl@master
env:
KUBE_HOST: ${{ secrets.KUBE_HOST }}
KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}
with:
args: annotate warehouse kargo-demo -n kargo-demo-kustomize-stages reload=${{ github.sha }} --overwrite

0 comments on commit 7e9b4b1

Please sign in to comment.