mirror of
https://gitlab.com/bonnebulle/plain-html-redo.git
synced 2025-12-06 10:08:45 +01:00
Update .gitlab-ci.yml to latest version
This commit is contained in:
committed by
Marcel Amirault
parent
811cc1bf95
commit
c2b14d055c
@@ -1,12 +1,17 @@
|
|||||||
|
# This file is a template, and might need editing before it works on your project.
|
||||||
|
# Full project: https://gitlab.com/pages/plain-html
|
||||||
|
|
||||||
image: busybox
|
image: busybox
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- echo 'Nothing to do...'
|
- mkdir .public
|
||||||
|
- cp -r ./* .public
|
||||||
|
- rm -rf public
|
||||||
|
- mv .public public
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
expire_in: 1 day
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|||||||
Reference in New Issue
Block a user