Skip to content

build and deploy workflow #1

build and deploy workflow

build and deploy workflow #1

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

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

View workflow run for this annotation

GitHub Actions / .github/workflows/build-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install dependencies
run: bundle install
- name: Build site
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site