Skip to content

Commit

Permalink
TEST heroku-deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
wlodarcp committed May 21, 2021
1 parent 2388240 commit 3263e72
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
#if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -66,7 +66,12 @@ jobs:
env:
HEROKU_API_KEY: ${{secrets.HEROKU_API_KEY}}
- name: Release judge-d on Heroku
run: heroku continer:release web -a judge-d
uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: judge-d
heroku_email: ${{secrets.HEROKU_EMAIL}}
usedocker: true
- name: Build docker image for agent
run: mvn validate docker:build@build-docker -P docker-app -f ./judge-d-agent/pom.xml
- name: Publish judge-d-agent docker image to DockerHub
Expand Down

0 comments on commit 3263e72

Please sign in to comment.