Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inject-docs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INJECT
inject-docs
Commits
91b60571
There was an error fetching the commit references. Please try again later.
Commit
91b60571
authored
3 months ago
by
Roman Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
fix minor issues
parent
42dc7ed8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
README.md
+2
-1
2 additions, 1 deletion
README.md
with
4 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
2
View file @
91b60571
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
1
View file @
91b60571
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment