Compare commits

...

3 commits

Author SHA1 Message Date
a60b331d99 v2.2.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-04-22 19:42:24 +01:00
a4ae8f32c7 Update to use master branch 2024-04-22 19:41:46 +01:00
001a173d2e Revert "v2.2.0"
This reverts commit 5ada905a4d.
2024-04-22 19:41:35 +01:00

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