NOW let's actually build the project
This commit is contained in:
parent
91502911c1
commit
05d967a620
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ deploy:
|
||||||
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||||
script:
|
script:
|
||||||
- yarn install --cache-folder .yarn
|
- yarn install --cache-folder .yarn
|
||||||
|
- yarn build
|
||||||
- rsync -avuz -e 'ssh -i ~/.ssh/id_rsa' dist/ $RSYNC_DESTINATION
|
- rsync -avuz -e 'ssh -i ~/.ssh/id_rsa' dist/ $RSYNC_DESTINATION
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
|
|
Loading…
Reference in a new issue