Add automation to reload Kubernetes pod after deployment
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 11s
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 11s
This commit is contained in:
parent
d96148c395
commit
9881f6e8bc
@ -35,6 +35,10 @@ jobs:
|
|||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
personal_token: ${{ secrets.TOKEN }}
|
personal_token: ${{ secrets.GIT_PAGES_TOKEN }}
|
||||||
publish_dir: ./public
|
publish_dir: ./public
|
||||||
publish_branch: gitea-pages
|
publish_branch: gitea-pages
|
||||||
|
|
||||||
|
- name: Reload Kubernetes pods
|
||||||
|
run: |
|
||||||
|
curl -X DELETE https://k8s.local:6443/api/v1/namespaces/hugo/pods/ --header "Authorization: Bearer ${{ secrets.HUGO_K8S_TOKEN }}" --insecure
|
Loading…
Reference in New Issue
Block a user