fix(deploy): gitea dumb
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4bd3b1e094
commit
298b4d8739
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ steps:
|
||||||
- apk add curl ca-certificates zip
|
- apk add curl ca-certificates zip
|
||||||
- cd dist && zip -r ../deploy-site.zip * && cd ..
|
- cd dist && zip -r ../deploy-site.zip * && cd ..
|
||||||
- cd build && zip -r ../deploy-server.zip * && cd ..
|
- cd build && zip -r ../deploy-server.zip * && cd ..
|
||||||
- 'curl --fail --upload-file deploy-site.zip -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/doodly/$DRONE_COMMIT_SHA/doodly-site.zip'
|
- 'curl --fail --upload-file deploy-site.zip -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/doodly/$DRONE_COMMIT_SHA-site/doodly-site.zip'
|
||||||
- 'curl --fail --upload-file deploy-server.zip -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/doodly/$DRONE_COMMIT_SHA/doodly-server.zip'
|
- 'curl --fail --upload-file deploy-server.zip -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/doodly/$DRONE_COMMIT_SHA-server/doodly-server.zip'
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
|
|
Loading…
Reference in a new issue