add initial attempt at CI
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
2ed8113e55
commit
f3a8dad881
@ -0,0 +1,22 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: node:18-alpine
|
||||||
|
commands:
|
||||||
|
- npm install -g pnpm
|
||||||
|
- pnpm i
|
||||||
|
- echo "[values]\n_DEBUG=0\n_CORS_URL='https://cors.ruthenic.com/'" > options.toml
|
||||||
|
- pnpm build
|
||||||
|
when:
|
||||||
|
event: [ pull_request, push ]
|
||||||
|
publish:
|
||||||
|
image: alpine
|
||||||
|
secrets: [ ssh_key ]
|
||||||
|
commands:
|
||||||
|
- apk install git openssh
|
||||||
|
- mkdir ~/.ssh
|
||||||
|
- echo $ssh_key > ~/.ssh/id_ed25519
|
||||||
|
- ssh-add ~/.ssh/id_ed25519
|
||||||
|
- git config user.name "Woodpecker"
|
||||||
|
- git config user.email "no-reply@mail.ruthenic.com"
|
||||||
|
- git commit -am "Update build"
|
||||||
|
- git push
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue