Skip to content

Fix missing theme with 404 error #9

Fix missing theme with 404 error

Fix missing theme with 404 error #9

Workflow file for this run

name: LinuxFactory
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Build Jekyll site
run: bundle exec jekyll build --destination _site
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Deploy with gh-pages action
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site