diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0224e73..4db493e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/README.md b/README.md index 2dfcc24..eec7959 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ For more information see: [The Release Readme](Readme_release.txt) ## Download Binaries -You can download the latest binaries for Linux and Windows in the [release section](https://gitlab.com/Mr_Goldberg/goldberg_emulator/releases) of this repo. +You can download the latest git builds for Linux and Windows on [the Gitlab pages website](https://mr_goldberg.gitlab.io/goldberg_emulator/) and the stable releases in the [release section](https://gitlab.com/Mr_Goldberg/goldberg_emulator/releases) of this repo. ## Contributions diff --git a/website/template.html b/website/template.html index 4d784c3..be2eb6e 100644 --- a/website/template.html +++ b/website/template.html @@ -1,11 +1,26 @@ - -
+