Skip to content

Add GitHub Pages workflow & rename to index.html #3

Add GitHub Pages workflow & rename to index.html

Add GitHub Pages workflow & rename to index.html #3

Workflow file for this run

name: Deploy Slides
on:
push:
branches:
- main
pull_request:
jobs:
deploy-slides:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Install and Build
working-directory: ./slides
run: >-
JEKYLL_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
JEKYLL_ENV=production
bundle exec jekyll serve
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: 7-slides
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com