forgejo-ci: clear-out public workflow when deploying
Some checks failed
/ render (push) Failing after 34s

This commit is contained in:
IkiWiki 2024-08-25 20:47:26 -04:00
parent 39227d6118
commit 796b9be6f3
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -25,6 +25,8 @@ jobs:
run: ikiwiki --setup ikiwiki.setup run: ikiwiki --setup ikiwiki.setup
- name: Website upload - name: Website upload
run: | run: |
rm -R public/.forgejo
mkdir -p public/.forgejo/workflows
cp .forgejo/workflows/deploy.yaml public/.forgejo/workflows/. cp .forgejo/workflows/deploy.yaml public/.forgejo/workflows/.
git log -1 --pretty=%B > commit.txt git log -1 --pretty=%B > commit.txt
cd public cd public