mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
Add basic gitlab page with link to latest build.
This commit is contained in:
parent
9f72f3db06
commit
8918d8f6d4
@ -2,6 +2,7 @@ stages:
|
|||||||
- dependencies
|
- dependencies
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
- page_deploy
|
||||||
|
|
||||||
protobuf_static_steamos:
|
protobuf_static_steamos:
|
||||||
stage: dependencies
|
stage: dependencies
|
||||||
@ -92,8 +93,24 @@ deploy_all:
|
|||||||
- rm -rf !(release)
|
- rm -rf !(release)
|
||||||
- mv release/* ./
|
- mv release/* ./
|
||||||
- rm -rf release
|
- rm -rf release
|
||||||
|
- echo $CI_JOB_ID > job_id
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "Goldberg_Lan_Steam_Emu_$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-$CI_COMMIT_SHORT_SHA"
|
name: "Goldberg_Lan_Steam_Emu_$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-$CI_COMMIT_SHORT_SHA"
|
||||||
paths:
|
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
|
||||||
|
11
website/template.html
Normal file
11
website/template.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
<h1>Goldberg Emulator</h1>
|
||||||
|
<div>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.</div>
|
||||||
|
|
||||||
|
<div><a href="X_LATEST_BUILD_URL_X">Latest Build From Git</a></div>
|
||||||
|
<div><a href="https://gitlab.com/Mr_Goldberg/goldberg_emulator/releases">Releases</a></div>
|
||||||
|
<div><a href="https://gitlab.com/Mr_Goldberg/goldberg_emulator">Source Code Repo</a></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user