diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-07 15:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 15:23:38 +0100 |
commit | 649872a89f2ec0728f82c3e11394544e79f89988 (patch) | |
tree | a86a0c4ff27283ad72fede9f3d0240785699acd7 /.github | |
parent | Add digital ocean deployment (diff) | |
download | seven-wonders-649872a89f2ec0728f82c3e11394544e79f89988.tar.gz seven-wonders-649872a89f2ec0728f82c3e11394544e79f89988.tar.bz2 seven-wonders-649872a89f2ec0728f82c3e11394544e79f89988.zip |
Remove heroku deployment
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-cd.yml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index f3bd00fd..41ba5978 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -9,7 +9,6 @@ env: DOCKER_IMAGE_NAME: seven-wonders-server DOCKER_IMAGE_TAG_SHA: sha-${{ github.sha }} DOCKER_IMAGE_TAG_BUILD: build-${{ github.run_id }} - HEROKU_APP_NAME: seven-wonders-online jobs: build-and-deploy: @@ -59,13 +58,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - - name: Login to Heroku Container Registry - uses: docker/login-action@v1 - with: - registry: registry.heroku.com - username: ${{ secrets.HEROKU_EMAIL }} - password: ${{ secrets.HEROKU_API_KEY }} - - name: Build and push to DockerHub and GitHub Container Registry uses: docker/build-push-action@v2 with: @@ -79,7 +71,6 @@ jobs: ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:latest ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG_SHA }} ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG_BUILD }} - registry.heroku.com/${{ env.HEROKU_APP_NAME }}/web - name: Install doctl uses: digitalocean/action-doctl@v2 @@ -97,8 +88,3 @@ jobs: - name: Verify deployment run: kubectl rollout status deployment/seven-wonders - - - name: Heroku release (deploy Docker image) - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:release -a ${{ env.HEROKU_APP_NAME }} web |