Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
POD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Habscheid
POD
Commits
a5bf0b4f
Commit
a5bf0b4f
authored
3 months ago
by
Jan Habscheid
Browse files
Options
Downloads
Patches
Plain Diff
Use Static pages for deployment
parent
df26ea90
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6
Documentation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
with
22 additions
and
0 deletions
.gitlab-ci.yml
+
22
−
0
View file @
a5bf0b4f
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml
# Full project: https://gitlab.com/pages/plain-html
image
:
busybox
pages
:
stage
:
deploy
environment
:
production
tags
:
-
docker
script
:
-
echo "The site will be deployed to $CI_PAGES_URL"
-
mv docs/build public
# Move the build output to the "public" directory
artifacts
:
paths
:
-
public
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
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