Merge pull request #19 from ZhenshengLee/fea/update-roscon #14
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: Pages | |
on: | |
push: | |
branches: | |
- rolling | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install deps | |
run: | | |
sudo locale-gen en_US.UTF-8 | |
sudo update-locale | |
- name: Install dependencies | |
run: | | |
sudo apt update && sudo apt install python3 python3-pip && \ | |
sudo pip3 install recommonmark sphinx sphinx-rtd-theme sphinx-markdown-tables sphinx-multiversion | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Build and Commit | |
uses: sphinx-notes/pages@master | |
with: | |
documentation_path: ./source | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages |