Skip to content

Update GitHub Actions to trigger on dev branch and deploy to gh-pages #1

Update GitHub Actions to trigger on dev branch and deploy to gh-pages

Update GitHub Actions to trigger on dev branch and deploy to gh-pages #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ dev ] # Trigger on dev branch pushes
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- run: bundle exec jekyll build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages