Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pages Test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Operate
Environments
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitLab Tests
Subgroup 1
Pages Test
Commits
403fede3
Commit
403fede3
authored
2 years ago
by
Chris Coley
Browse files
Options
Downloads
Patches
Plain Diff
Add support for branch subdirectories
parent
8460ce26
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-4
6 additions, 4 deletions
.gitlab-ci.yml
src/index.html
+1
-1
1 addition, 1 deletion
src/index.html
src/style.css
+0
-0
0 additions, 0 deletions
src/style.css
with
7 additions
and
5 deletions
.gitlab-ci.yml
+
6
−
4
View file @
403fede3
image
:
alpine:latest
workflow
:
rules
:
-
if
:
$CI_COMMIT_BRANCH
pages
:
stage
:
deploy
tags
:
-
docker
script
:
-
echo 'Nothing to do...'
-
cp -r src public/$CI_COMMIT_BRANCH
artifacts
:
paths
:
-
public
only
:
-
master
-
public/CI_COMMIT_BRANCH
This diff is collapsed.
Click to expand it.
publi
c/index.html
→
sr
c/index.html
+
1
−
1
View file @
403fede3
...
...
@@ -13,7 +13,7 @@
<a
href=
"https://gitlab.com/pages/"
>
Other Examples
</a>
</div>
<h1>
Hello World!
</h1>
<h1>
Hello World!
Dev Branch
</h1>
<p>
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
...
...
This diff is collapsed.
Click to expand it.
publi
c/style.css
→
sr
c/style.css
+
0
−
0
View file @
403fede3
File moved
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