Skip to content

.github/workflows/deploy.yml #1146

.github/workflows/deploy.yml

.github/workflows/deploy.yml #1146

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: helaili/[email protected]
with:
target_branch: 'gh-pages'
token: ${{ secrets.GITHUB_TOKEN }}