Skip to content

Commit

Permalink
Merge pull request #74 from joostvdg/preview-test-3
Browse files Browse the repository at this point in the history
test 2
  • Loading branch information
Joost van der Griendt authored Mar 28, 2021
2 parents e9de45e + e35fe90 commit 0afd632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pull-request-preview-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: "Pull Request Preview Build"
on: pull_request
on:
pull_request:
branches: [main]

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set env
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA)" >> $GITHUB_ENV
- name: Test
Expand All @@ -27,6 +31,6 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: caladreas/cmg:latest,caladreas/cmg:${{ env.GITHUB_SHA_SHORT }}
tags: caladreas/cmg:${{ env.GITHUB_SHA_SHORT }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ App for generating Catan maps which are fair and balanced.

## Preview Env

TBD: test2
TBD: test3

## Live version

Expand Down

0 comments on commit 0afd632

Please sign in to comment.