Added stuff to gitlab pages page.

This commit is contained in:
Mr_Goldberg 2019-05-03 06:43:43 -04:00
parent 8918d8f6d4
commit 1c7a6339f7
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
3 changed files with 23 additions and 7 deletions

View file

@ -108,6 +108,7 @@ pages:
- DEPLOY_ALL_JOBID=$(cat job_id)
- mkdir public
- cat website/template.html | sed 's|X_LATEST_BUILD_URL_X|https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/'$DEPLOY_ALL_JOBID'/artifacts/download|g' > public/index.html
- sed -i 's|X_LATEST_BUILD_COMMIT_HASH_X|'$CI_COMMIT_SHA'|g' public/index.html
artifacts:
paths: