mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-30 15:50:38 +01:00
update CI
This commit is contained in:
parent
c833b13883
commit
0863811b2f
1 changed files with 3 additions and 5 deletions
|
@ -3,9 +3,7 @@ steps:
|
||||||
image: node:19
|
image: node:19
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- branch:
|
branch: [main, staging]
|
||||||
- main
|
|
||||||
- staging
|
|
||||||
commands:
|
commands:
|
||||||
- npm install -D @11ty/eleventy
|
- npm install -D @11ty/eleventy
|
||||||
- npx @11ty/eleventy --input=. --output=public
|
- npx @11ty/eleventy --input=. --output=public
|
||||||
|
@ -14,7 +12,7 @@ steps:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- branch: staging
|
branch: staging
|
||||||
secrets:
|
secrets:
|
||||||
- SSH_KEY
|
- SSH_KEY
|
||||||
environment:
|
environment:
|
||||||
|
@ -35,7 +33,7 @@ steps:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- branch: main
|
branch: main
|
||||||
secrets:
|
secrets:
|
||||||
- SSH_KEY
|
- SSH_KEY
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue