Compare commits

..

No commits in common. "a60b331d99100f5f69c3296c9b9fc41f8371e5b9" and "5ada905a4d33db17b8d63f06a48b1fbbd05f59ee" have entirely different histories.

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, master ] branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
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, master ] branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
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, master ] branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
# 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: master branch: main
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: master branch: main
# 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: push event: tag
branch: master branch: main