Skip to content

Commit

Permalink
Add a step to deploy the map to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeychernyshev committed Mar 22, 2024
1 parent ec652ec commit eaa2c1a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,20 @@ create-release:
release:
tag_name: $CI_COMMIT_TAG
description: "Release $CI_COMMIT_TAG of components repository $CI_PROJECT_PATH"

pages:
stage: play GitTerra
needs: [GitTerra]
script:
- find .
- mkdir public/
- mv index.html public/
- mv gitterra.json public/
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH

0 comments on commit eaa2c1a

Please sign in to comment.