Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-pages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
templates
gitlab-pages
Commits
da0c0711
Commit
da0c0711
authored
5 months ago
by
Felix Drees
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
bcb18d6c
Branches
main
No related tags found
No related merge requests found
Pipeline
#359756
passed
5 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-9
17 additions, 9 deletions
.gitlab-ci.yml
with
17 additions
and
9 deletions
.gitlab-ci.yml
+
17
−
9
View file @
da0c0711
---
---
image
:
debian:latest
stages
:
-
build
-
deploy
build_notes
:
image
:
debian:latest
stage
:
build
script
:
-
apt-get update -y
-
apt-get install -y emacs
-
emacs -batch note.org -f org-html-export-to-html --kill
-
emacs -batch note.org -f org-ascii-export-to-ascii --kill
-
mkdir -p ./public
-
mv ./*.html ./*.txt ./public
include
:
include
:
-
project
:
templates/ci/common
-
project
:
templates/ci/common
ref
:
main
ref
:
main
file
:
'
pipelines/pages.yml'
file
:
'
pipelines/pages.yml'
before_script
:
# before_script:
-
apt-get update -y && apt-get install -y emacs
# - echo "<h1>$CI_PROJECT_NAME gitlab page</h1>" > ./index.html
-
emacs -batch note.org -f org-html-export-to-html --kill
-
emacs -batch note.org -f org-ascii-export-to-ascii --kill
# - echo "<h1>$CI_PROJECT_NAME gitlab page</h1>" > ./index.html
-
mkdir -p ./public
-
mv ./*.html ./*.txt ./public
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