modify workflows

This commit is contained in:
Jon Eugster
2023-05-10 16:35:06 +02:00
parent d43ba1343a
commit 87f94e7bb8
2 changed files with 13 additions and 15 deletions

View File

@@ -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."

View File

@@ -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.
"