Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cours
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ALOM-2024
cours
Commits
62fd90ce
Verified
Commit
62fd90ce
authored
6 months ago
by
Julien Wittouck
Browse files
Options
Downloads
Patches
Plain Diff
: switch pages to pipeline build
parent
d0c53df3
No related branches found
No related tags found
No related merge requests found
Pipeline
#52626
passed
6 months ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-14
4 additions, 14 deletions
.gitlab-ci.yml
with
4 additions
and
14 deletions
.gitlab-ci.yml
+
4
−
14
View file @
62fd90ce
build
:
pages
:
image
:
image
:
name
:
"
ghcr.io/juwit/course-builder:main"
name
:
"
ghcr.io/juwit/course-builder:main"
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
stage
:
deploy
stage
:
deploy
rules
:
rules
:
-
if
:
$CI_COMMIT_REF_NAME == 'main'
-
if
:
$CI_COMMIT_REF_NAME == 'main'
script
:
-
task
-
mkdir public
-
cp -R index.html css images reveal w* public
cache
:
cache
:
paths
:
paths
:
-
.task/
-
.task/
-
public/
pages
:
image
:
name
:
"
alpine:latest"
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
stage
:
deploy
rules
:
-
if
:
$CI_COMMIT_REF_NAME == 'main'
script
:
script
:
-
mkdir public
-
task
-
mkdir -p public
-
cp -R index.html css images reveal w* public
-
cp -R index.html css images reveal w* public
artifacts
:
artifacts
:
paths
:
paths
:
...
...
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