-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: switch to new Jekyll GitHub action
- Loading branch information
1 parent
2692a08
commit 9492657
Showing
3 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,26 @@ jobs: | |
gh-pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: helaili/jekyll-action@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
# Use GitHub Actions' cache to cache dependencies on servers | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
.asdf/** | ||
vendor/bundle | ||
key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.key') }} | ||
restore-keys: | | ||
${{ runner.os }}-cache- | ||
# Use GitHub Deploy Action to build and deploy to Github | ||
# For latest version: `jeffreytse/jekyll-deploy-action@master` | ||
- uses: jeffreytse/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
jekyll_src: site | ||
#jekyll_build_options: -b /website | ||
token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT) | ||
branch: 'gh-pages' # Default is gh-pages for github provider | ||
jekyll_src: './site' # Default is root directory | ||
jekyll_cfg: '_config.yml' # Default is _config.yml | ||
ruby_ver: '' # Default is 3.2.0 version | ||
bundler_ver: '' # Default is compatible bundler version (~>2.5.0) | ||
cname: 'www.mignololab.org' # Default is to not use a cname |
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
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