ci: add GitHub workflow for pull requests #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy GitHub Pages | |
on: | |
pull_request: null | |
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 |