Bump postcss from 8.4.24 to 8.4.31 #31
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: "Build GH pages" | |
on: | |
push: | |
pull_request: | |
jobs: | |
build_and_update: | |
name: "Build" | |
runs-on: ubuntu-20.04 | |
environment: github-pages | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Hack sources.list # As the auzure is often unavailable | |
run: sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends \ | |
nodejs npm | |
- name: Build | |
run: | | |
set -ex | |
npm install | |
npx gulp build | |
sed -i '/# Build files/q;p' .gitignore | |
- name: Deploy to GH Pages | |
if: github.ref == 'refs/heads/master' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: . | |
single-commit: false |