Compare commits
10 commits
renovate/n
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
41195de16a | ||
|
f6b0d26581 | ||
|
e5e19b5f3d | ||
|
a60b331d99 | ||
|
a4ae8f32c7 | ||
|
001a173d2e | ||
|
5ada905a4d | ||
|
ed613b4dc2 | ||
|
ab718d9486 | ||
|
c600385fab |
|
@ -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:
|
||||||
|
@ -35,8 +35,8 @@ steps:
|
||||||
- export PATH=/opt/ldid:$PATH
|
- export PATH=/opt/ldid:$PATH
|
||||||
- yarn package
|
- yarn package
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: push
|
||||||
branch: main
|
branch: master
|
||||||
rsync_prod:
|
rsync_prod:
|
||||||
image: alpine
|
image: alpine
|
||||||
secrets: [ ssh_key ]
|
secrets: [ ssh_key ]
|
||||||
|
@ -46,8 +46,8 @@ 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: master
|
||||||
|
|
||||||
# Package stage build
|
# Package stage build
|
||||||
package_stage:
|
package_stage:
|
||||||
|
@ -85,8 +85,8 @@ steps:
|
||||||
from_secret: NPM_EMAIL
|
from_secret: NPM_EMAIL
|
||||||
password:
|
password:
|
||||||
from_secret: NPM_PASSWORD
|
from_secret: NPM_PASSWORD
|
||||||
api_key:
|
token:
|
||||||
from_secret: NPM_TOKEN
|
from_secret: NPM_TOKEN
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: push
|
||||||
branch: main
|
branch: master
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "random-bunny",
|
"name": "random-bunny",
|
||||||
"version": "2.1.6",
|
"version": "2.2.0",
|
||||||
"description": "Get a random subreddit image url",
|
"description": "Get a random subreddit image url",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Vylpes",
|
"author": "Vylpes",
|
||||||
|
|
Loading…
Reference in a new issue