Skip to content

debug deploy workflow #56

debug deploy workflow

debug deploy workflow #56

Workflow file for this run

name: deploy gh-pages
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
debug_enabled:
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
pip install sphinx-design
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
- name: install mamba
run: |
conda install -c conda-forge mamba
- 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: './docs/source'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages