Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Oct 15, 2024
1 parent aa1c9eb commit 226531c
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
name: Docs

on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- LICENSE
- README.md
workflow_dispatch:
branches: ["main"]
tags: ["v*"]

permissions:
contents: write
Expand All @@ -18,16 +11,6 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install yardang
- run: yardang build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
- uses: actions-ext/yardang@main
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html
force_orphan: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 226531c

Please sign in to comment.