Skip to content
Snippets Groups Projects
Commit 25221ee9 authored by C Charles's avatar C Charles Committed by Marcel Amirault
Browse files

Update README.md to main branch rather than master

With suggestion that updates to rule to cover any
default branch.
parent f8ee116a
No related branches found
No related tags found
No related merge requests found
......@@ -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):
```
image: alpine:latest
image: busybox
pages:
stage: deploy
......@@ -31,8 +31,9 @@ pages:
artifacts:
paths:
- public
only:
- master
expire_in: 1 day
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
```
The above example expects to put all your HTML files in the `public/` directory.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment