Update .gitea/workflows/publish.yaml
Some checks failed
CI Hugo Publish / build-and-deploy (push) Failing after 12s

This commit is contained in:
Eric X. Liu 2024-06-12 04:00:49 +00:00
parent e562019b40
commit 1f5623a4fd

View File

@ -30,9 +30,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.SSH_KEY }}
publish_dir: ./public
- name: Delete Kubernetes pod
run: |
curl -X DELETE ${{ secrets.APISERVER }}/api/v1/namespaces/Hugo/pods/ \
--header "Authorization: Bearer ${{ secrets.TOKEN }}" --insecure
publish_dir: ./public