modify workflows
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -11,5 +11,11 @@ jobs:
|
|||||||
- name: build docker image
|
- name: build docker image
|
||||||
run: docker build . --file Dockerfile --tag game:latest
|
run: docker build . --file Dockerfile --tag game:latest
|
||||||
|
|
||||||
- name: View Progress
|
- name: Store docker container as an artifact
|
||||||
run: echo "Run the export action to publish the game."
|
uses: ishworkh/docker-image-artifact-upload@v1
|
||||||
|
with:
|
||||||
|
image: "game:latest"
|
||||||
|
|
||||||
|
- name: What next?
|
||||||
|
run: echo "Once this action is finished, you can run the 'Export' action
|
||||||
|
to pulish the game at https://adam.math.hhu.de/#/g/$GITHUB_REPOSITORY."
|
||||||
|
|||||||
18
.github/workflows/export.yml
vendored
18
.github/workflows/export.yml
vendored
@@ -6,18 +6,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Export to Game Server
|
||||||
|
|
||||||
- name: build docker image
|
|
||||||
run: docker build . --file Dockerfile --tag game:latest
|
|
||||||
|
|
||||||
- name: Store docker container as an artifact
|
|
||||||
uses: ishworkh/docker-image-artifact-upload@v1
|
|
||||||
with:
|
|
||||||
image: "game:latest"
|
|
||||||
|
|
||||||
- name: Export into Game Server
|
|
||||||
run: wget https://adam.math.hhu.de/import/trigger/$GITHUB_REPOSITORY --no-check-certificate
|
run: wget https://adam.math.hhu.de/import/trigger/$GITHUB_REPOSITORY --no-check-certificate
|
||||||
|
|
||||||
- name: View Progress
|
- name: What next?
|
||||||
run: echo "View progress at https://adam.math.hhu.de/import/status/$GITHUB_REPOSITORY"
|
run: echo "View progress at https://adam.math.hhu.de/import/status/$GITHUB_REPOSITORY.
|
||||||
|
Once done, you can play the game at https://adam.math.hhu.de/#/g/$GITHUB_REPOSITORY.
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user