Add timing for game states #201
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: Build Documentation for GitHub Pages | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build the JavaDocs | |
run: mvn org.apache.maven.plugins:maven-javadoc-plugin:javadoc -Prelease | |
- name: Copy the Documentation | |
run: rsync -a docs/ target/site/ | |
- name: Transfer Documentation to royalur.github.io | |
uses: cpina/[email protected] | |
env: | |
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | |
with: | |
source-directory: target/site/ | |
target-directory: RoyalUrJava/ | |
destination-github-username: RoyalUr | |
destination-repository-name: royalur.github.io | |
user-email: [email protected] | |
target-branch: main |