Skip to content

Merge pull request #165 from boswortham/patch-1 #10

Merge pull request #165 from boswortham/patch-1

Merge pull request #165 from boswortham/patch-1 #10

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Install less
run: sudo npm install -g less
- name: Install yui-compressor
run: sudo apt-get install -y yui-compressor
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: mbstring, dom, fileinfo, mysql, redis, opcache
tools: composer
- name: Generate
run: make gh-pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: output_gh