Skip to content
Snippets Groups Projects
Commit c6d50c4f authored by Jagroop Gill's avatar Jagroop Gill
Browse files

Update .gitlab-ci.yml file

parent 58d8aebe
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -7,14 +7,12 @@
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
environment: production
script:
- mkdir .public
- cp -r ./* .public
- rm -rf public
- mv .public public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
only:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment