only deploy main branch
This commit is contained in:
parent
df5cc7df32
commit
a0126364fc
1 changed files with 6 additions and 0 deletions
|
|
@ -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"'
|
||||
|
|
|
|||
Loading…
Reference in a new issue