Skip to content
Snippets Groups Projects
Verified Commit 919fb3ab authored by Chris Coley's avatar Chris Coley
Browse files

Add another page to test global replacements with sed

parent c166d487
Branches
No related tags found
No related merge requests found
...@@ -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:
... ...
......
<!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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment