Skip to content
Snippets Groups Projects
Verified Commit 8b52bc0c authored by Romain Deville's avatar Romain Deville
Browse files

:green_heart::pencil2: Fix CI typos in workflow and for index.html

Make workflow only run on framagit.org and move path where index.html is
rsync.
parent 743df8fb
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@ workflow:
# WIP, NO-CI or 🚧 (gitmoji for "work in progress", aka :construction:)
- if: $CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/
when: never
# Do not run CI if repo is not on framagit
- if: $CI_REPOSITORY_URL !~ /.*framagit.org.*/
when: never
# Run the CI otherwise (depending on `only/except` key per jobs)
- when: always
......
......@@ -378,7 +378,7 @@ script_deploy_html: &script_deploy_html
<body>\n
Redirecting to <a href='${ONLINE_PATH}'>${ONLINE_PATH}</a>...\n
</body>\n
</html>" > tmp/${PROJECT_PATH}/../index.html
</html>" > tmp/${PROJECT_PATH}/index.html
- rsync -Oavz "tmp/" "${RSYNC_DEST}"
rules:
- *rules_prod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment