Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4a0652dd
Commit
4a0652dd
authored
Nov 02, 2021
by
Russell Dickenson
Committed by
Fiona Neill
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Pages CI/CD instructions
parent
a9bae7b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
doc/user/project/pages/getting_started/pages_ci_cd_template.md
...ser/project/pages/getting_started/pages_ci_cd_template.md
+7
-9
No files found.
doc/user/project/pages/getting_started/pages_ci_cd_template.md
View file @
4a0652dd
...
...
@@ -16,15 +16,13 @@ Use a `.gitlab-ci.yml` template when you have an existing project that you want
Your GitLab repository should contain files specific to an SSG, or plain HTML. After you complete
these steps, you may have to do additional configuration for the Pages site to generate properly.
1.
On the left sidebar, select
**Project information**
.
1.
Click
**Set up CI/CD**
. If this button is not available, CI/CD is already configured for your project.
You may want to browse the
`.gitlab-ci.yml`
files
[
in these projects instead
](
https://gitlab.com/pages
)
.
1.
From the
**Apply a template**
list, choose a template for the SSG you're using.
You can also choose plain HTML. If you don't find a corresponding template, you can view the
[
GitLab Pages group of sample projects
](
https://gitlab.com/pages
)
.
These projects contain
`.gitlab-ci.yml`
files that you can modify for your needs.
You can also
[
learn how to write your own `.gitlab-ci.yml` file for GitLab Pages
](
pages_from_scratch.md
)
.
1.
Save and commit the
`.gitlab-ci.yml`
file.
1.
On the top bar, select
**Menu > Projects**
and find your project.
1.
On the left sidebar, select the project's name.
1.
From the
**Add**
(
**{plus}**
) dropdown, select
**New file**
.
1.
From the
**Select a template type**
dropdown, select
`.gitlab-ci.yml`
.
1.
From the
**Apply a template**
dropdown, in the
**Pages**
section, select the name of your SSG.
1.
In the
**Commit message**
box, type the commit message.
1.
Select
**Commit changes**
.
If everything is configured correctly, the site can take approximately 30 minutes to deploy.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment