Skip to content

fix: deploy

fix: deploy #4

Workflow file for this run

name: Build and Deploy Jekyll Site
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
options: --user root

Check failure on line 14 in .github/workflows/jekyll-build.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy Jekyll Site

Invalid workflow file

The workflow is not valid. .github/workflows/jekyll-build.yml (Line: 14, Col: 7): Container image cannot be empty
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v2
with:
ruby-version: '3.0'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Build site
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
if: success() && github.event_name != 'pull_request'
with:
folder: _site
branch: gh-pages