Skip to content
Snippets Groups Projects
Commit 91b60571 authored by Roman Dvořák's avatar Roman Dvořák
Browse files

fix minor issues

parent 42dc7ed8
No related branches found
No related tags found
No related merge requests found
......@@ -34,11 +34,11 @@ commit_zip:
- git add files-from-repos/intro-definition.zip
- git add files-from-repos/showcase-definition.zip
- git commit -m "Add authomatically deployment-files.zip"
- git push https://oauth2:${GITLAB_TOKEN}@gitlab.fi.muni.cz/inject/inject-docs.git HEAD:main -o ci.skip
- git push https://oauth2:${GITLAB_TOKEN}@gitlab.fi.muni.cz/inject/inject-docs.git HEAD:"$CI_PIPELINE_ID" -o ci.skip
dependencies:
- setup
only:
- main
- change-me
build:
stage: build
......
......@@ -133,4 +133,5 @@ When adding a new page, you will need to add a new option to this list. A few th
To avoid accidental publishing, the tag `only:` should always be set to the name of the branch where it is located.
Also, the main branch should never have a valid gitlab-ci.yml that can publish pages.
For that reason the tag `only:` on the main branch of the project should be set to a different name other than the main branch.
\ No newline at end of file
For that reason the tag `only:` on the main branch of the project should be set to a different name other than the main branch.
On the main branch, the tag is set to `change-me`, you need to change all of the occurrences of this tag to the current branch name.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment