Skip to content

(fix: #670): Copyright year is outdated it should be updated from `20… #66

(fix: #670): Copyright year is outdated it should be updated from `20…

(fix: #670): Copyright year is outdated it should be updated from `20… #66

Workflow file for this run

name: Interactive Book Deployment
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build
run: bundle exec jekyll build -d out
- name: Run temp server
run: bundle exec jekyll serve --port=4000 --detach
- name: API Generation
run: sudo python utils/api_generator.py
- name: Kill Temporary Server
run: pkill -f jekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
cname: learn.circuitverse.org