Fixup timeout #8
This file contains hidden or 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: docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - run: npm install --ignore-scripts | |
| - run: npm run build:all | |
| - run: npm run docs | |
| - name: Deploy to gh-pages | |
| if: ${{ github.event_name == 'push' }} | |
| run: | | |
| git config --global user.name thegecko | |
| git config --global user.email github@thegecko.org | |
| TMPDIR=`mktemp -d` | |
| cp -R docs/* $TMPDIR | |
| git checkout gh-pages | |
| git pull | |
| git clean -fd | |
| cp -R $TMPDIR/* ./ | |
| git add . | |
| git commit --allow-empty --message "Automatic Deployment" | |
| git push |