Merge pull request #159 from AY2324S2-CS2103T-W12-3/update-dg-assets #90
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: MarkBind Action | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Graphviz | |
run: sudo apt-get install graphviz | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- name: Build & Deploy MarkBind site | |
uses: MarkBind/markbind-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
rootDirectory: './docs' | |
baseUrl: '/tp' # assuming your repo name is tp | |
version: '^5.3.0' |