fix: general fixes and improvements (#385) #123
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: Eleventy Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3.6.0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3.8.1 | |
| with: | |
| node-version: '25.x' | |
| - name: Install dependencies using a safe clean install, build and test | |
| run: | | |
| npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONT_AWESOME_TOKEN }}" | |
| npm ci --ignore-scripts | |
| - name: Run Build | |
| run: npm run build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3.9.3 | |
| with: | |
| deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
| publish_dir: ./docs | |
| publish_branch: gh-pages | |
| commit_message: ${{ github.event.head_commit.message }} |