mirror of
https://gitlab.gwdg.de/j.hahn02/university.git
synced 2026-01-01 06:44:25 -05:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,18 +1,10 @@
|
|||||||
# The Docker image that will be used to build your app
|
image: ghcr.io/myriad-dreamin/shiroa:v0.3.0
|
||||||
image: rust:latest
|
|
||||||
create-pages:
|
pages:
|
||||||
pages:
|
script:
|
||||||
# The folder that contains the files to be exposed at the Page URL
|
- shiroa build --dest-dir public
|
||||||
publish: public
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
rules:
|
rules:
|
||||||
# This ensures that only pushes to the default branch will trigger
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
# a pages deploy
|
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
# Functions that should be executed before the build script is run
|
|
||||||
before_script:
|
|
||||||
- cargo install --git https://github.com/Myriad-Dreamin/shiroa --locked shiroa
|
|
||||||
script:
|
|
||||||
- shiroa build -d public
|
|
||||||
Reference in New Issue
Block a user