update CI

This commit is contained in:
Adora Laura Kalb 2023-06-13 11:23:46 +02:00
parent c833b13883
commit 0863811b2f
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -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: