patch CSS files in 0.288 and 0.288.1 #426
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: publish | |
on: | |
pull_request: | |
branches: [source] | |
push: | |
branches: [source] | |
jobs: | |
checks: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: Test Build | |
run: cd website && yarn install && yarn build | |
gh-release: | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: Git config | |
run: git config --global user.email "[email protected]" && git config --global user.name "Presto Bot" | |
- name: Fetch credentials | |
run: echo "machine github.com login presto-oss password ${{ secrets.PRESTOOSS_PUBLISH_TOKEN }}" > ~/.netrc | |
- name: Release to GitHub Pages | |
run: cd website && yarn install && GIT_USER="presto-oss" yarn run publish-gh-pages | (head -c 32768; echo "... skipping output ..."; tail -c 32768) |