bump gh actions (#905) #157
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 website | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./website | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 24 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build docusaurus | |
| run: npx docusaurus-write-translations | |
| - name: Setting whoaim | |
| run: | | |
| git config --global user.email "davesnx@users.noreply.github.com" | |
| git config --global user.name "Website Deployment CI" | |
| echo "machine github.com login davesnx password ${{ secrets.GH_TOKEN }}" > ~/.netrc | |
| - name: Deploy docusaurus | |
| run: GIT_USER="davesnx" USE_SSH=false npx docusaurus-publish |