Skip to content

chore(deps-dev): bump stylelint-scss in the npm group (#853) #1541

chore(deps-dev): bump stylelint-scss in the npm group (#853)

chore(deps-dev): bump stylelint-scss in the npm group (#853) #1541

Workflow file for this run

name: build and deploy artifact to gh-pages branch
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build the site
env:
JEKYLL_ENV: production
run: |
./bin/data-update
bundle exec jekyll build
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build the site
env:
JEKYLL_ENV: production
run: |
./bin/data-update
bundle exec jekyll build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: master
force_orphan: true
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"