This commit is contained in:
parent
01128d6da7
commit
40aa200cbb
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,15 @@ steps:
|
|||
- pnpm install --frozen-lockfile
|
||||
- pnpm build
|
||||
- pnpm format:check
|
||||
- name: Deploy site
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add curl ca-certificates zip
|
||||
- cd dist && zip -r ../deploy.zip * && cd ..
|
||||
- 'curl -F file=@deploy.zip -H "Authorization: $DEPLOY_TOKEN" https://projects.ashhhleyyy.dev/chss'
|
||||
environment:
|
||||
DEPLOY_TOKEN:
|
||||
from_secret: deploy_token
|
||||
|
||||
trigger:
|
||||
event: [push]
|
||||
|
|
Loading…
Reference in a new issue