Feature/22900 booking providers (#380) #155
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: Deploy docs | |
on: | |
push: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build_docs: | |
name: Build and deploy docs | |
runs-on: macos-13 | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Prepare dependencies | |
run: | | |
brew install sourcekitten | |
python --version | |
pip install --upgrade pip | |
pip install mkdocs | |
pip install pymdown-extensions | |
mkdocs --version | |
bundle install | |
- name: Build docs | |
run: | | |
cd Scripts | |
./docs.sh | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |