Fixed drone config

This commit is contained in:
konrad 2019-04-25 20:08:12 +02:00
parent 8f07d99695
commit 0aa0a39620
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -35,11 +35,10 @@ steps:
pull: true pull: true
group: build-static group: build-static
commands: commands:
- pwd
- apk add yarn - apk add yarn
- yarn - yarn
- yarn run lint - yarn run lint
- "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /srv/app/src/git.kolaente.de/vikunja/frontend/public/config.json" # Override config - "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /drone/src/public/config.json" # Override config
- yarn run build - yarn run build
- name: static - name: static
@ -109,7 +108,7 @@ steps:
- apk add yarn - apk add yarn
- yarn - yarn
- yarn run lint - yarn run lint
- "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /srv/app/src/git.kolaente.de/vikunja/frontend/public/config.json" # Override config - "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /drone/src/public/config.json" # Override config
- yarn run build - yarn run build
- name: static - name: static