fix typo in README #11
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: "GitHub Pages" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| concurrency: | |
| group: "doc" | |
| cancel-in-progress: true | |
| jobs: | |
| doc: | |
| name: "Deploy pages" | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Disable initramfs update | |
| run: sudo sed -i 's/yes/no/g' /etc/initramfs-tools/update-initramfs.conf | |
| - name: Disable man-db update | |
| run: sudo rm -f /var/lib/man-db/auto-update | |
| - name: Setup JDK 8 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Setup Forrest | |
| run: wget https://archive.apache.org/dist/forrest/apache-forrest-0.9.tar.gz && tar xvf apache-forrest-0.9.tar.gz && sudo mv apache-forrest-0.9 /usr/forrest && echo "/usr/forrest/bin" >> $GITHUB_PATH | |
| - name: Build site | |
| run: cd www && forrest | |
| - name: Setup pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload pages | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: "www/build/site" | |
| - name: Deploy pages | |
| uses: actions/deploy-pages@v4 |