mirror of
https://gitlab.com/bonnebulle/plain-html-redo.git
synced 2025-12-06 01:59:32 +01:00
Merge branch 'juan.vanegasg-master-patch-83676' into 'main'
Update .gitlab-ci.yml See merge request pages/plain-html!190
This commit is contained in:
@@ -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
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo 'Nothing to do...'
|
||||
- mkdir .public
|
||||
- cp -r ./* .public
|
||||
- rm -rf public
|
||||
- mv .public public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
expire_in: 1 day
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
|
||||
Reference in New Issue
Block a user