Allow schedule to push to registry
Some checks failed
Build and Deploy ytdlp-site / build-deploy (push) Has been cancelled
Some checks failed
Build and Deploy ytdlp-site / build-deploy (push) Has been cancelled
This commit is contained in:
@@ -48,7 +48,7 @@ jobs:
|
|||||||
--tag ${{ env.SLUG }}:latest
|
--tag ${{ env.SLUG }}:latest
|
||||||
|
|
||||||
- name: Deploy to Container Registry
|
- 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: |
|
run: |
|
||||||
echo "${{ secrets.GIT_PASSWORD }}" | docker login git.carlpearson.net -u "${{ secrets.GIT_USERNAME }}" --password-stdin
|
echo "${{ secrets.GIT_PASSWORD }}" | docker login git.carlpearson.net -u "${{ secrets.GIT_USERNAME }}" --password-stdin
|
||||||
docker push ${{ env.SLUG }}:latest
|
docker push ${{ env.SLUG }}:latest
|
||||||
|
Reference in New Issue
Block a user