Compare commits

...

10 commits

Author SHA1 Message Date
Ethan Lane 41195de16a v2.2.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-04-22 19:46:56 +01:00
Ethan Lane f6b0d26581 Use token 2024-04-22 19:46:18 +01:00
Ethan Lane e5e19b5f3d Revert "v2.2.0"
This reverts commit a60b331d99.
2024-04-22 19:46:10 +01:00
Ethan Lane 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
Ethan Lane a4ae8f32c7 Update to use master branch 2024-04-22 19:41:46 +01:00
Ethan Lane 001a173d2e Revert "v2.2.0"
This reverts commit 5ada905a4d.
2024-04-22 19:41:35 +01:00
Ethan Lane 5ada905a4d v2.2.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-04-22 19:37:19 +01:00
Ethan Lane ed613b4dc2 Update woodpecker to allow publish on main 2024-04-22 19:36:39 +01:00
Ethan Lane ab718d9486 Revert "v2.2.0"
This reverts commit c600385fab.
2024-04-22 19:36:08 +01:00
Ethan Lane c600385fab v2.2.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-04-22 19:33:07 +01:00
2 changed files with 11 additions and 11 deletions

View file

@ -7,21 +7,21 @@ steps:
- yarn build
when:
event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
lint:
image: node
commands:
- yarn lint
when:
event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
test:
image: node
commands:
- yarn test
when:
event: [ push, pull_request ]
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
branch: [ hotfix/*, feature/*, renovate/*, develop, master ]
# Package production build
package_prod:
@ -35,8 +35,8 @@ steps:
- export PATH=/opt/ldid:$PATH
- yarn package
when:
event: tag
branch: main
event: push
branch: master
rsync_prod:
image: alpine
secrets: [ ssh_key ]
@ -46,8 +46,8 @@ steps:
- 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
when:
event: tag
branch: main
event: push
branch: master
# Package stage build
package_stage:
@ -85,8 +85,8 @@ steps:
from_secret: NPM_EMAIL
password:
from_secret: NPM_PASSWORD
api_key:
token:
from_secret: NPM_TOKEN
when:
event: tag
branch: main
event: push
branch: master

View file

@ -1,6 +1,6 @@
{
"name": "random-bunny",
"version": "2.1.6",
"version": "2.2.0",
"description": "Get a random subreddit image url",
"license": "MIT",
"author": "Vylpes",