Fixed config overwrite by drone

This commit is contained in:
konrad 2018-09-08 21:44:18 +02:00
parent 85a8296278
commit 6ec92f68e5
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -15,7 +15,7 @@ pipeline:
commands:
- npm install
- npm run lint
- "echo '{\"VIKUNJA_API_BASE_URL\": \"api/v1/\"}' > /srv/app/src/public/config.json" # Override config
- "echo '{\"VIKUNJA_API_BASE_URL\": \"api/v1/\"}' > /srv/app/src/git.kolaente.de/vikunja/frontend/public/config.json" # Override config
- npm run build
when:
event: [push, tag, pull_request]