Refactor .woodpecker.yml pipeline configuration
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Renamed pipeline to "deploy" for clarity. - Adjusted `when` conditions structure for branch and event targeting.
This commit is contained in:
@ -1,11 +1,15 @@
|
|||||||
pipeline:
|
name: deploy
|
||||||
|
|
||||||
|
steps:
|
||||||
deploy:
|
deploy:
|
||||||
image: node:20
|
image: node:20
|
||||||
commands:
|
commands:
|
||||||
- curl -L https://fly.io/install.sh | sh
|
- curl -L https://fly.io/install.sh | sh
|
||||||
- export PATH="$HOME/.fly/bin:$PATH"
|
- export PATH="$HOME/.fly/bin:$PATH"
|
||||||
- flyctl deploy --config fly.toml --app gallus-pub
|
- flyctl deploy --config fly.toml --app gallus-pub
|
||||||
when:
|
|
||||||
event: push
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
Reference in New Issue
Block a user