Update to use master branch

This commit is contained in:
Ethan Lane 2024-04-22 19:41:46 +01:00
parent 001a173d2e
commit a4ae8f32c7

View file

@ -7,21 +7,21 @@ steps:
- yarn build - yarn build
when: when:
event: [ push, pull_request ] event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ] branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
lint: lint:
image: node image: node
commands: commands:
- yarn lint - yarn lint
when: when:
event: [ push, pull_request ] event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ] branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
test: test:
image: node image: node
commands: commands:
- yarn test - yarn test
when: when:
event: [ push, pull_request ] event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ] branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
# Package production build # Package production build
package_prod: package_prod:
@ -36,7 +36,7 @@ steps:
- yarn package - yarn package
when: when:
event: push event: push
branch: main branch: master
rsync_prod: rsync_prod:
image: alpine image: alpine
secrets: [ ssh_key ] secrets: [ ssh_key ]
@ -47,7 +47,7 @@ steps:
- 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: push event: push
branch: main branch: master
# Package stage build # Package stage build
package_stage: package_stage:
@ -88,5 +88,5 @@ steps:
api_key: api_key:
from_secret: NPM_TOKEN from_secret: NPM_TOKEN
when: when:
event: tag event: push
branch: main branch: master