Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Update README.md

Update README.md #74

name: Testing the GitHub Pages publication
on:
push:
branches:
- src
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: work around permission issue
run: git config --global --add safe.directory /github/workspace
- uses: actions/checkout@v3
# 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-
pre_build_commands: git config --global --add safe.directory /github/workspace
# build & push to target branch 'master'
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'master'
pre_build_commands: git submodule update --init --recursive
jekyll_src: .