Skip to content

Build and deploy GH Pages #1442

Build and deploy GH Pages

Build and deploy GH Pages #1442

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3.4"
- name: Install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages