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
919fb3ab
Verified
Commit
919fb3ab
authored
Apr 24, 2023
by
Chris Coley
Browse files
Options
Downloads
Patches
Plain Diff
Add another page to test global replacements with sed
parent
c166d487
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
src/another-page.html
+27
-0
27 additions, 0 deletions
src/another-page.html
with
28 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
919fb3ab
...
@@ -42,7 +42,7 @@ setup:
...
@@ -42,7 +42,7 @@ setup:
-e "s|%%BRANCH%%|${CI_COMMIT_BRANCH}|g"
-e "s|%%BRANCH%%|${CI_COMMIT_BRANCH}|g"
-e "s|%%PROJECT_URL%%|${CI_PROJECT_URL}|g"
-e "s|%%PROJECT_URL%%|${CI_PROJECT_URL}|g"
-e "s|%%PROJECT_NAMESPACE%%|${CI_PROJECT_NAMESPACE}|g"
-e "s|%%PROJECT_NAMESPACE%%|${CI_PROJECT_NAMESPACE}|g"
src/
index
.html
src/
*
.html
-
mv src public
-
mv src public
artifacts
:
artifacts
:
paths
:
paths
:
...
...
...
...
This diff is collapsed.
Click to expand it.
src/another-page.html
0 → 100644
+
27
−
0
View file @
919fb3ab
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<title>
Another Page - Plain HTML site using GitLab Pages
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
</head>
<body>
<div
class=
"navbar"
>
<a
href=
"https://pages.gitlab.io/plain-html/"
>
Plain HTML Example
</a>
<a
href=
"https://gitlab.com/pages/plain-html/"
>
Repository
</a>
<a
href=
"https://gitlab.com/pages/"
>
Other Examples
</a>
</div>
<h1>
Hello World!
</h1>
<p>
This is a another page for testing global replacements.
</p>
<p>
It was built on the
<strong>
%%BRANCH%%
</strong>
branch of the
<a
href=
"%%PROJECT_URL%%"
><strong>
%%PROJECT_NAMESPACE%%
</strong></a>
project.
</p>
</body>
</html>
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
sign in
to comment