Merge pull request #3411 from zapbot/update-alerts #2674
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: Update Website | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| update-website: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| path: zaproxy-website | |
| - name: Checkout zaproxy.github.io | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: zaproxy/zaproxy.github.io | |
| persist-credentials: false | |
| path: zaproxy.github.io | |
| fetch-depth: 0 | |
| - name: Build Website Content | |
| run: | | |
| cd zaproxy-website | |
| npm install | |
| npm run build | |
| - name: Update Website | |
| uses: ./zaproxy-website/.github/actions/update-website | |
| with: | |
| repo: 'zaproxy.github.io' | |
| branch: 'master' | |
| user: 'zapbot' | |
| email: '12745184+zapbot@users.noreply.github.com' | |
| env: | |
| AUTH_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} |