Last active
November 4, 2022 04:31
-
-
Save erap129/00755d17ced40602579f11956c8ef7b7 to your computer and use it in GitHub Desktop.
blog_action
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: Build and deploy Jekyll site to GitHub Pages | |
on: | |
push: | |
branches: | |
- master # or master before October 2020 | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- uses: helaili/[email protected] # Choose any one of the Jekyll Actions | |
with: # Some relative inputs of your action | |
token: ${{ secrets.JEKYLL_PAT }} | |
target_branch: 'gh-pages' | |
env: | |
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment