diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index b5561ea..1559e88 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -35,6 +35,10 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v4 with: - personal_token: ${{ secrets.TOKEN }} + personal_token: ${{ secrets.GIT_PAGES_TOKEN }} publish_dir: ./public - publish_branch: gitea-pages \ No newline at end of file + 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 \ No newline at end of file