Commit c8a886d8 authored by Rahix's avatar Rahix 🦀
Browse files

Merge 'Also build release pipeline for tags'

See merge request engel-simulator-2020/game!46
parents c52f3ff6 e8070a67
...@@ -41,6 +41,7 @@ build-release: ...@@ -41,6 +41,7 @@ build-release:
<<: *global_cache <<: *global_cache
key: release-build key: release-build
script: script:
- touch .git/HEAD
- wasm-pack build - wasm-pack build
- cd www - cd www
- npm install - npm install
...@@ -51,6 +52,7 @@ build-release: ...@@ -51,6 +52,7 @@ build-release:
- www/dist - www/dist
only: only:
- master - master
- tags
deploy: deploy:
stage: deploy stage: deploy
...@@ -60,3 +62,4 @@ deploy: ...@@ -60,3 +62,4 @@ deploy:
- "cp -r www/dist/* /var/www/game" - "cp -r www/dist/* /var/www/game"
only: only:
- master - master
- tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment