Allay icon indicating copy to clipboard operation
Allay copied to clipboard

docs: use github pages instead of readthedocs

Open smartcmd opened this issue 1 year ago • 1 comments

smartcmd avatar Jun 14 '24 03:06 smartcmd

.github/workflows/gh-pages.yml

name: Publish docs via GitHub Pages

on:
  push:
    branches: [ "master" ]
    paths:
      - docs/**
      - mkdocs.yml

jobs:
  build:
    name: Deploy Docs
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1

      - name: Deploy Docs
        uses: mhausenblas/mkdocs-deploy-gh-pages@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          REQUIREMENTS: docs/requirements.txt

Try this 🥺 @smartcmd You need to switch Settings -> Actions -> General -> Workflow permissions to Read and write permissions first.

Cdm2883 avatar Jan 04 '25 15:01 Cdm2883