diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b381e1df..22323f01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,22 +43,26 @@ jobs: - name: Upload example-app build files - #if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: name: example-app path: example-app/target/*.jar deploy: - #if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' name: Deploy to Heroku runs-on: ubuntu-latest needs: build steps: + - name: Checkout repo + uses: actions/checkout@v3 - name: Download production-ready build files - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: example-app + - name: ls + run: ls -la - name: Build, Push and Release a Docker container to Heroku uses: gonuit/heroku-docker-deploy@v1.3.3