Skip to content

Commit 1982eed

Browse files
committed
move workflows back into docs
1 parent a4523e2 commit 1982eed

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- docs-build
7+
paths:
8+
- docs/**
9+
- src/**
10+
workflow_dispatch:
11+
12+
jobs:
13+
docs:
14+
uses: codeshelldev/gh-actions/.github/workflows/docs-deploy.yml@main
15+
name: Deploy
16+
with:
17+
branch: docs-build
18+
secrets:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/docs-update.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Update Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- docs
7+
paths:
8+
- docs/**
9+
workflow_dispatch:
10+
11+
jobs:
12+
docs:
13+
uses: codeshelldev/gh-actions/.github/workflows/docs-update.yml@main
14+
name: Template Docs
15+
with:
16+
template-path: docs/
17+
output-path: docs/
18+
output-branch: docs-build
19+
secrets:
20+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Update README
2+
3+
on:
4+
push:
5+
branches:
6+
- docs
7+
paths:
8+
- .github/templates/**
9+
10+
jobs:
11+
update:
12+
uses: codeshelldev/gh-actions/.github/workflows/readme-update.yml@main
13+
name: Update
14+
with:
15+
output-branch: main
16+
secrets:
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)