{Documentation} - Add a info banner in Project Aria Desktop Companion… #504
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: publish website | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "**/website/**" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "**/website/**" | |
workflow_dispatch: | |
jobs: | |
build_docs_job: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.6] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install doxygen | |
- name: Build the Website | |
run: | | |
cd website | |
yarn install | |
yarn run build | |
id: build | |
- name: Get output time | |
run: echo "The time was ${{ steps.build.outputs.time }}" | |
- name: Deploy | |
if: ${{ github.event_name == 'push' }} | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: website/build # The folder the action should deploy. |