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 0a8a3d9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ 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
with:
fetch-depth: 0
- name: Retrieve files from cache
uses: actions/cache@v2
id: cache-build
Expand All @@ -66,7 +68,13 @@ 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}}
stack: container
branch: master
- 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 0a8a3d9

Please sign in to comment.