Cleanup workflow file
There were some leftovers that were doing no harm, but I chose to remove them for clarity.
This commit is contained in:
parent
f00cebb1b6
commit
84b26096c2
13
.github/workflows/deploy-docs.yml
vendored
13
.github/workflows/deploy-docs.yml
vendored
@ -1,6 +1,7 @@
|
|||||||
name: Deploy Docs to GitHub Pages
|
name: Deploy Docs to GitHub Pages
|
||||||
|
|
||||||
on: # only on changes
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '/v*'
|
- '/v*'
|
||||||
@ -8,6 +9,9 @@ on: # only on changes
|
|||||||
paths:
|
paths:
|
||||||
- 'docs/'
|
- 'docs/'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: docs
|
group: docs
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
@ -42,10 +46,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./docs/build
|
publish_dir: ./docs/build
|
||||||
# The following lines assign commit authorship to the official
|
|
||||||
# GH-Actions bot for deploys to `gh-pages` branch:
|
|
||||||
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
|
|
||||||
# The GH actions bot is used by default if you didn't specify the two fields.
|
|
||||||
# You can swap them out with your own user credentials.
|
|
||||||
user_name: github-actions[bot]
|
|
||||||
user_email: 41898282+github-actions[bot]@users.noreply.github.com
|
|
||||||
|
Loading…
Reference in New Issue
Block a user