changes to the jarjar related docs #37
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: 'Deploy' | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| jobs: | |
| deploy: | |
| if: startsWith(github.repository, 'ModdingX/') # don't run this in forks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@v3 | |
| - name: 'Install' | |
| run: sudo apt-get install -y perl python3 python3-pip | |
| - name: 'Configure' | |
| run: pip3 install -r requirements.txt | |
| - name: 'Build' | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| perl docs.pl build | |
| git push --force origin gh-pages |