summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 08bd23bc..46366c9f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,7 +32,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- - name: Docker push
+ - name: Docker push to GitHub Packages
uses: docker/build-push-action@v1
with:
path: ./sw-server
@@ -42,3 +42,14 @@ jobs:
repository: joffrey-bion/seven-wonders/sw-server
tag_with_ref: true
tag_with_sha: true
+
+ - name: Docker push to Heroku
+ uses: docker/build-push-action@v1
+ with:
+ path: ./sw-server
+ username: _
+ password: ${{ secrets.HEROKU_API_KEY }}
+ registry: registry.heroku.com
+ repository: seven-wonders-online/web
+ tag_with_ref: true
+ tag_with_sha: true
bgstack15