Skip to content

Commit

Permalink
Deploy to staging
Browse files Browse the repository at this point in the history
Release to staging when pushing to main

closes #24
  • Loading branch information
TangoYankee committed Jun 26, 2024
1 parent e41efe6 commit 97725ce
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 🎭 Staging

on:
push:
branches:
- main

jobs:
deploy:
name: 🚀 Deploy
environment:
name: staging-cp-map
url: https://staging-capitalplanning.nycplanningdigital.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Heroku
uses: akhileshns/[email protected]
with:
heroku_email: ${{secrets.HEROKU_EMAIL}}
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_APP_NAME}}
team: ${{secrets.HEROKU_TEAM}}
env:
HD_VITE_ZONING_API_URL: ${{secrets.VITE_ZONING_API_URL}}

0 comments on commit 97725ce

Please sign in to comment.