Skip to content

Commit 46180f3

Browse files
ci: Add gh action to deploy docs to docs repository
1 parent b2ae2cc commit 46180f3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/web_docs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: web_docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- docs/**
9+
10+
jobs:
11+
web_docs:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Push docs to nvim-orgmode.github.io repository
16+
uses: nkoppel/[email protected]
17+
env:
18+
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
19+
with:
20+
source-files: 'docs/'
21+
destination-username: 'nvim-orgmode'
22+
destination-repository: 'nvim-orgmode.github.io'
23+
commit-email: '[email protected]'

0 commit comments

Comments
 (0)