Merge pull request #241 from Chia-Network/runnable-code-blocks #89
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" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
container: node:17-alpine | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: "Install deps" | |
run: | | |
apk add python3 make g++ git | |
yarn | |
- name: "yarn deploy" | |
run: | | |
git config --global user.name 'ChiaAutomation' | |
git config --global user.email '[email protected]' | |
GIT_USER=ChiaAutomation GIT_PASS=${{ github.token }} yarn deploy |