mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
fix ci
This commit is contained in:
parent
76308ddef9
commit
333bba66de
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
when:
|
||||
swhen:
|
||||
branch: main
|
||||
event: ['push']
|
||||
|
||||
steps:
|
||||
build:
|
||||
- name: build
|
||||
image: node:alpine
|
||||
commands:
|
||||
- npm install && npm audit fix
|
||||
|
@ -11,7 +11,7 @@ steps:
|
|||
when:
|
||||
event: ['push', 'pull_request']
|
||||
|
||||
surge:
|
||||
- name: surge
|
||||
image: node:alpine
|
||||
secrets: [surge_login, surge_token]
|
||||
commands:
|
||||
|
@ -19,7 +19,7 @@ steps:
|
|||
- cp dist/index.html dist/200.html
|
||||
- npx surge ./dist --domain https://hyperpipe.surge.sh
|
||||
|
||||
docker:
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64,linux/arm64
|
Loading…
Add table
Add a link
Reference in a new issue