Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Preprod
name: Deploy Preprod Assets

on:
push:
Expand All @@ -13,22 +13,6 @@ jobs:
with:
fetch-depth: 0

- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh

- name: Login to Heroku
uses: akhileshns/heroku-deploy@v3.13.15
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "polis-preprod"
heroku_email: ${{secrets.HEROKU_EMAIL}}
branch: "edge"

- name: Deploy to Heroku
run: |
git push https://heroku:${{secrets.HEROKU_API_KEY}}@git.heroku.com/polis-preprod.git edge:main

deploy-static:
runs-on: ubuntu-latest
needs: deploy-backend
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Prod
name: Deploy Prod Assets

on:
push:
Expand All @@ -14,22 +14,6 @@ jobs:
with:
fetch-depth: 0

- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh

- name: Login to Heroku
uses: akhileshns/heroku-deploy@v3.13.15
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "polisapp"
heroku_email: ${{secrets.HEROKU_EMAIL}}
branch: "stable"

- name: Deploy to Heroku
run: |
git push https://heroku:${{secrets.HEROKU_API_KEY}}@git.heroku.com/polisapp.git stable:main

deploy-static:
runs-on: ubuntu-latest
needs: deploy-backend
Expand Down
Loading