Skip to content

Merge pull request #214 from ku-ring/develop #251

Merge pull request #214 from ku-ring/develop

Merge pull request #214 from ku-ring/develop #251

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Deploy to develop
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ develop ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
environment: Test-Server
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Decrypt Secrets
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
sh .github/workflows/decrypt.sh
- name: Ready to deploy
run: |
rm .gitignore
git config user.email "todory2002@gmail.com"
git config user.name "ngwoon"
git add .
git commit -m "Build Ready"
- name: Deploy to Heroku
# You may pin to the exact commit or the version.
# uses: AkhileshNS/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820
uses: AkhileshNS/heroku-deploy@v3.12.12
with:
# This will be used for authentication. You can find it in your heroku homepage account settings
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
# Email that you use with heroku
heroku_email: ${{ secrets.HEROKU_EMAIL }}
# The appname to use for deploying/updating
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
env:
HD_DEPLOY_ENV: "dev"