ci: fix docs deploy on release

This commit is contained in:
alina 🌸 2024-12-31 00:39:51 +03:00
parent 8763111ab7
commit d177e1a40d
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -25,7 +25,7 @@ jobs:
echo "ref.mtcute.dev" > docs/CNAME
- name: Deploy
# do not run on forks and releases
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'mtcute-bot'
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'desu-bot'
uses: https://github.com/cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}