name: ci on: schedule: - cron: '0 10 * * *' # everyday at 10am push: branches: - dev - releases/v* jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2.3.0 - name: Gen dummy page run: | mkdir public cat > public/index.html < GitHub Pages deployed!

GitHub Pages with ${{ github.sha }} commit ID has been deployed through GitHub Pages action successfully on $(date).

EOL - name: Deploy if: success() uses: ./ with: target_branch: gh-pages build_dir: public env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}