[#2316] Update CI/CD Trigger to Allow Automatic Execution for All Relevant Events #38
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '11' | |
| - name: Install dependencies | |
| run: pip install requests | |
| - name: Generate report | |
| run: | | |
| export VITE_BASE_DIR="/$(basename $GITHUB_REPOSITORY)/" | |
| echo "VITE_BASE_DIR: $VITE_BASE_DIR" | |
| ./run.sh | |
| - name: Deploy GitHub pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./reposense-report | |
| user_name: 'github-actions[bot]' | |
| user_email: 'github-actions[bot]@users.noreply.github.com' | |
| commit_message: Rebuild pages at |