Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CRI
Documentation
epita-doc
Commits
9564facc
Verified
Commit
9564facc
authored
Jan 23, 2022
by
Marc Schmitt
Browse files
ci: switch to GitLab pages
Signed-off-by:
Marc 'risson' Schmitt
<
risson@cri.epita.fr
>
parent
08ea11d8
Pipeline
#152821
passed with stages
in 1 minute and 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9564facc
---
stages
:
-
site-builder
-
build
-
deploy
-
site-publisher
.template
:
&template
stage
:
site-publisher
image
:
name
:
banst/awscli:1.18.76
entrypoint
:
[
"
"
]
dependencies
:
-
site-builder
script
:
-
aws s3 --endpoint-url https://s3.cri.epita.fr/ sync $(pwd)/site $CRI_BUCKET --acl public-read --delete
site-builder
:
stage
:
site-builder
build
:
stage
:
build
image
:
name
:
squidfunk/mkdocs-material:5.5.14
entrypoint
:
[
"
"
]
...
...
@@ -24,20 +17,14 @@ site-builder:
paths
:
-
site
site-publisher:release:
<<
:
*template
pages
:
stage
:
deploy
dependencies
:
-
build
script
:
-
cp -R site public
artifacts
:
paths
:
-
public
only
:
-
master
variables
:
AWS_SECRET_ACCESS_KEY
:
$cri_doc_secret
AWS_ACCESS_KEY_ID
:
$cri_doc_access
CRI_BUCKET
:
$cri_doc_bucket
site-publisher:dev:
<<
:
*template
except
:
-
master
variables
:
AWS_SECRET_ACCESS_KEY
:
$cri_doc_dev_secret
AWS_ACCESS_KEY_ID
:
$cri_doc_dev_access
CRI_BUCKET
:
$cri_doc_dev_bucket
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment