Skip to content

Fix missing theme with 404 error #15

Fix missing theme with 404 error

Fix missing theme with 404 error #15

Workflow file for this run

name: LinuxFactory
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Build Jekyll site
run: bundle exec jekyll build
- name: Copy CNAME to _site
run: |
if [ -f CNAME ]; then
cp CNAME _site/CNAME
fi
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
user_name: github-actions
user_email: github-actions@github.com