Merge pull request #365 from Chia-Network/new-hinting-section #273
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 to pages on trunk | |
on: | |
push: | |
branches: | |
- 'main' | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
container: node:16-alpine | |
steps: | |
- name: 'Install deps' | |
run: | | |
apk add python3 make g++ git | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: 'yarn deps' | |
run: | | |
yarn | |
- name: 'yarn deploy' | |
run: | | |
# postBuffer documented at: https://git-scm.com/docs/git-config#Documentation/git-config.txt-httppostBuffer | |
# Needed due to commit/push errors over https related to the remote hanging up unexpectedly | |
git config --global http.postBuffer 10000000 | |
git config --global user.name 'ChiaAutomation' | |
git config --global user.email 'automation@chia.net' | |
GIT_USER=ChiaAutomation GIT_PASS=${{ github.token }} yarn deploy |