1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00

Update .gitlab-ci.yml, style.css, index.html files

This commit is contained in:
igna 2021-08-22 07:16:50 +00:00
parent 95816cd8a4
commit a9c7b2ebf9
3 changed files with 12 additions and 6 deletions

View file

@ -1,12 +1,18 @@
image: alpine:latest
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
script:
- echo 'Nothing to do...'
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
expire_in: 1 day
only:
- master
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH