From f1e6dbc3191f28a219ec178aa890a1a73615b87e Mon Sep 17 00:00:00 2001 From: Vegard Smines Date: Wed, 30 Aug 2023 14:26:21 +0200 Subject: [PATCH] moving Procfile project root --- .github/workflows/main.yml | 4 ++-- Procfile | 1 + db-scheduler-ui-backend/Procfile | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 Procfile delete mode 100644 db-scheduler-ui-backend/Procfile diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 641f6a54..1a4d9c7e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,13 +52,13 @@ jobs: path: db-scheduler-ui-backend/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 repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download production-ready build files uses: actions/download-artifact@v3 diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..21e06dc2 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java -jar db-scheduler/target/db-scheduler-ui-backend-*.jar diff --git a/db-scheduler-ui-backend/Procfile b/db-scheduler-ui-backend/Procfile deleted file mode 100644 index d91de9f1..00000000 --- a/db-scheduler-ui-backend/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: java -jar target/db-scheduler-ui-backend-*.jar