Merge pull request #21 from Andrew22Teoh/branch-AddPhoto #7
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@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- 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.5.2' |