Deploy production #444
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 production | |
on: | |
schedule: | |
- cron: "20 18 * * *" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Add deployable commit to 'production' branch | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
DEPLOY_TRIGGER: ${{ github.event_name }} | |
run: | | |
chmod +x ./bin/deploy | |
./bin/deploy production |