Compare commits

..

2 commits

Author SHA1 Message Date
9f71bcfbfd
fix: Allow serving at any subpath
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-05 10:57:13 +01:00
85b7db835f
fix(ci): Fail workflow if deploy fails 2022-07-05 10:55:00 +01:00
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ steps:
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'
- 'curl --fail -F file=@deploy.zip -H "Authorization: $DEPLOY_TOKEN" https://projects.ashhhleyyy.dev/chss'
environment:
DEPLOY_TOKEN:
from_secret: deploy_token

View file

@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '',
});