This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
[ghp] force rerun of action #5
Workflow file for this run
This file contains 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 Javadocs to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
- milo-ghp-javadoc | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Install dependencies | |
run: sudo apt-get install -y graphviz | |
- name: Build and generate Javadocs | |
run: ./gradlew generateDebugJavadoc --no-daemon | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./TeamCode/build/docs/javadoc/ | |
github_token: ${{ secrets.GITHUB_TOKEN }} |