From 6df6b88a6659d36fde171e3412a9a9b2befe6265 Mon Sep 17 00:00:00 2001 From: boryanagoncharenko <3010723+boryanagoncharenko@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:57:37 +0200 Subject: [PATCH] Add a separate github action for manually deploying to Alpha #5862 (#5877) --- .github/workflows/deploy-to-alpha-manually.yml | 13 +++++++++++++ .github/workflows/deploy-to-alpha.yml | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy-to-alpha-manually.yml diff --git a/.github/workflows/deploy-to-alpha-manually.yml b/.github/workflows/deploy-to-alpha-manually.yml new file mode 100644 index 00000000000..c26612fe86f --- /dev/null +++ b/.github/workflows/deploy-to-alpha-manually.yml @@ -0,0 +1,13 @@ +name: Manually deploy to Alpha +on: + workflow_dispatch: {} +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: akhileshns/heroku-deploy@v3.13.15 # This is the action + with: + heroku_api_key: ${{secrets.HEROKU_API_KEY}} + heroku_app_name: hedy-alpha + heroku_email: felienne@gmail.com diff --git a/.github/workflows/deploy-to-alpha.yml b/.github/workflows/deploy-to-alpha.yml index 1060c921a5b..86b1c22c4fd 100644 --- a/.github/workflows/deploy-to-alpha.yml +++ b/.github/workflows/deploy-to-alpha.yml @@ -1,6 +1,5 @@ name: Automatically deploy to Alpha on: - workflow_dispatch: {} # Run this AFTER the unit test job finishes workflow_run: