mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
fix ci
This commit is contained in:
parent
76308ddef9
commit
333bba66de
1 changed files with 4 additions and 4 deletions
|
@ -1,32 +0,0 @@
|
|||
when:
|
||||
branch: main
|
||||
event: ['push']
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: node:alpine
|
||||
commands:
|
||||
- npm install && npm audit fix
|
||||
- npm run build
|
||||
when:
|
||||
event: ['push', 'pull_request']
|
||||
|
||||
surge:
|
||||
image: node:alpine
|
||||
secrets: [surge_login, surge_token]
|
||||
commands:
|
||||
- npm install surge
|
||||
- cp dist/index.html dist/200.html
|
||||
- npx surge ./dist --domain https://hyperpipe.surge.sh
|
||||
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
repo: codeberg.org/hyperpipe/hyperpipe
|
||||
registry: codeberg.org
|
||||
tag: latest
|
||||
username:
|
||||
from_secret: cb_user
|
||||
password:
|
||||
from_secret: cb_token
|
Loading…
Add table
Add a link
Reference in a new issue