Update woodpecker to allow publish on main

This commit is contained in:
Ethan Lane 2024-04-22 19:36:39 +01:00
parent ab718d9486
commit ed613b4dc2

View file

@ -35,7 +35,7 @@ steps:
- export PATH=/opt/ldid:$PATH - export PATH=/opt/ldid:$PATH
- yarn package - yarn package
when: when:
event: tag event: push
branch: main branch: main
rsync_prod: rsync_prod:
image: alpine image: alpine
@ -46,7 +46,7 @@ steps:
- echo "$SSH_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_prod - rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_prod
when: when:
event: tag event: push
branch: main branch: main
# Package stage build # Package stage build