remove gitlab CI
This commit is contained in:
parent
7a8bb0a95e
commit
6679b9dedb
|
@ -1,30 +0,0 @@
|
|||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
script:
|
||||
- mkdir public
|
||||
- cp -r forum-network/src/* public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
artifacts:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH != "main"'
|
||||
script:
|
||||
- mkdir public
|
||||
- cp -r forum-network/src/* public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
environment:
|
||||
name: "$CI_COMMIT_BRANCH $CI_JOB_NAME"
|
||||
url: "$CI_SERVER_PROTOCOL://$CI_PROJECT_ROOT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html"
|
||||
variables:
|
||||
PUBLIC_URL: "/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html"
|
Loading…
Reference in New Issue