Allow schedule to push to registry
Some checks failed
Build and Deploy ytdlp-site / build-deploy (push) Has been cancelled

This commit is contained in:
2025-09-24 05:14:52 -06:00
parent f668f59f70
commit 4b36be3819

View File

@@ -48,7 +48,7 @@ jobs:
--tag ${{ env.SLUG }}:latest
- name: Deploy to Container Registry
if: gitea.ref == 'refs/heads/master' && gitea.event_name == 'push'
if: gitea.ref == 'refs/heads/master' && (gitea.event_name == 'push' || gitea.event_name == 'schedule')
run: |
echo "${{ secrets.GIT_PASSWORD }}" | docker login git.carlpearson.net -u "${{ secrets.GIT_USERNAME }}" --password-stdin
docker push ${{ env.SLUG }}:latest