Closed hdrhmd closed 4 years ago
Usage Example:
name: CD
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Dokku deploy
uses: vitalyliber/dokku-github-action@v4.0
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
HOST: casply.com
PROJECT: kawaii
CONFIG: ${{ secrets.APP_CONFIG }}
Sample APP_CONFIG => STAGE=beta DJANGO_KEY="*****"
I like to deploy configurations through github actions to completely abstract out our deployment platform in this case dokku behind the github actions.
Hi @hdrhmd =)
Please provide more examples how it would be used?
I don't understand why you can't setup ENVs directly. Because I config ENVs very rarely. Why you need config it before every deploy?