only deploy main branch

This commit is contained in:
Ricardo (XenGi) Band 2022-01-07 19:23:45 +01:00
commit a0126364fc
No known key found for this signature in database
GPG key ID: 1A9D657D06B5820E

View file

@ -1,5 +1,9 @@
image: node:lts-alpine
workflow:
rules:
- if: '$CI_COMMIT_BRANCH'
before_script:
- cat /etc/os-release
- yarn --version
@ -12,3 +16,5 @@ pages:
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == "main"'