mirror of
https://gitlab.com/bonnebulle/plain-html-redo.git
synced 2025-12-06 01:59:32 +01:00
Merge branch 'cjcharles-main-patch-09820' into 'main'
Update README.md to main branch rather than master! See merge request pages/plain-html!239
This commit is contained in:
@@ -22,7 +22,7 @@ This project's static Pages are built by [GitLab CI][ci], following the steps
|
|||||||
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
|
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
|
||||||
|
|
||||||
```
|
```
|
||||||
image: alpine:latest
|
image: busybox
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -31,8 +31,9 @@ pages:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
expire_in: 1 day
|
||||||
- master
|
rules:
|
||||||
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
```
|
```
|
||||||
|
|
||||||
The above example expects to put all your HTML files in the `public/` directory.
|
The above example expects to put all your HTML files in the `public/` directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user