Fix client build

This commit is contained in:
Adrian Wozniak 2020-05-02 13:13:17 +02:00
parent 19897d2206
commit 4350ddf7d7
2 changed files with 4 additions and 3 deletions

View File

@ -35,6 +35,6 @@ tasks:
cp -R ./dev/* ./dist
export TAR_NAME=$(date -u +"%Y%m%d%H%M%s")
tar -czvf ~/${TAR_NAME}.tar.gz ./dist
cp ~/${TAR_NAME}.tar.gz ./latest.tar.gz
cp ~/${TAR_NAME}.tar.gz ~/latest.tar.gz
artifacts:
- ./latest.tar.gz
- latest.tar.gz

View File

@ -18,7 +18,8 @@ secrets:
- 7ebab768-e5e4-4c9d-ba57-ec41a72c5665
tasks:
- build_config: |
cp ~/jirs/.builds/db.toml ~/jirs/jirs-server
cp ~/jirs/.builds/db.toml ~/jirs/jirs-server/db.toml
cp ~/jirs/.builds/db.toml ~/jirs/jirs-server/db.test.toml
- setup: |
sudo mkdir -p /var/lib/postgres/data
sudo chown build /var/lib/postgres/data