mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 21:18:01 +02:00
CI changes
This commit is contained in:
parent
7cc847146d
commit
907d66ea1d
1 changed files with 13 additions and 13 deletions
|
@ -9,6 +9,19 @@ pipeline:
|
|||
exclude: ['*.md', '.gitea/*']
|
||||
event: ['push', 'pull_request']
|
||||
|
||||
surge:
|
||||
image: node:alpine
|
||||
commands:
|
||||
- npm install surge
|
||||
- cp dist/index.html dist/200.html
|
||||
- npx surge ./dist hyperpipe.surge.sh
|
||||
secrets: [surge_login, surge_token]
|
||||
when:
|
||||
branch: main
|
||||
path:
|
||||
exclude: ['*.md', '.gitea/*']
|
||||
event: ['push']
|
||||
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
|
@ -24,16 +37,3 @@ pipeline:
|
|||
path:
|
||||
exclude: ['*.md', '.gitea/*']
|
||||
event: ['push']
|
||||
|
||||
deploy:
|
||||
image: node:alpine
|
||||
commands:
|
||||
- npm install surge
|
||||
- cp dist/index.html dist/200.html
|
||||
- npx surge ./dist hyperpipe.surge.sh
|
||||
secrets: [surge_login, surge_token]
|
||||
when:
|
||||
branch: main
|
||||
path:
|
||||
exclude: ['*.md', '.gitea/*']
|
||||
event: ['push']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue