diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index edf68d9..0224e73 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - dependencies - build - deploy + - page_deploy protobuf_static_steamos: stage: dependencies @@ -92,8 +93,24 @@ deploy_all: - rm -rf !(release) - mv release/* ./ - rm -rf release + - echo $CI_JOB_ID > job_id artifacts: name: "Goldberg_Lan_Steam_Emu_$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-$CI_COMMIT_SHORT_SHA" paths: - . +pages: + image: fedora + stage: page_deploy + dependencies: + - deploy_all + script: + - 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 + + artifacts: + paths: + - public/ + only: + - master diff --git a/website/template.html b/website/template.html new file mode 100644 index 0000000..4d784c3 --- /dev/null +++ b/website/template.html @@ -0,0 +1,11 @@ + + + +

Goldberg Emulator

+
Steam emulator that emulates steam online features. Lets you play games that use the steam multiplayer apis on a LAN without steam or an internet connection.
+ +
Latest Build From Git
+
Releases
+
Source Code Repo
+ +