Skip to content

Commit 0c54d76

Browse files
committed
feat: github action
1 parent cfe49fd commit 0c54d76

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/github-pages.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy Django React Native Websocket Docs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Adjust this to the branch you want to deploy from
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Deploy to GitHub Pages
17+
uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
publish_dir: ./ # Deploy everything from the root directory

0 commit comments

Comments
 (0)