updated Mergify configuration (#3632) #1368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to development | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # fetch all tags, default 1 | |
- name: Use Node.js 20.11.1 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.11.1' | |
- name: Get the version | |
id: app_version | |
run: echo ::set-output name=APP_VERSION::$(git describe --always --tags) | |
- run: echo ${{ steps.app_version.outputs.APP_VERSION }} | |
- name: Install Heroku CLI | |
run: curl https://cli-assets.heroku.com/install.sh | sh | |
- name: Deploy to Heroku (dev) | |
uses: akhileshns/[email protected] | |
with: | |
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | |
heroku_app_name: ${{secrets.HEROKU_APP_NAME_DEVELOPMENT}} | |
heroku_email: ${{secrets.HEROKU_EMAIL}} | |
env: | |
HD_APP_VERSION: ${{ steps.app_version.outputs.APP_VERSION }} |