5170: Move redis under src/server/cache with inner repository folder … #985
This file contains hidden or 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 staging | |
| on: | |
| push: | |
| branches: | |
| - 'development' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: '0' # fetch all tags, default 1 | |
| - name: Set version | |
| id: app_version | |
| run: echo ::set-output name=APP_VERSION::$(git describe --always --tags) | |
| - name: Deploy to Heroku | |
| uses: akhileshns/heroku-deploy@v3.13.15 # This is the action | |
| 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 }} |