mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-29 05:28:00 +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/*']
|
exclude: ['*.md', '.gitea/*']
|
||||||
event: ['push', 'pull_request']
|
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:
|
docker:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
@ -24,16 +37,3 @@ pipeline:
|
||||||
path:
|
path:
|
||||||
exclude: ['*.md', '.gitea/*']
|
exclude: ['*.md', '.gitea/*']
|
||||||
event: ['push']
|
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