Skip to content

Commit 139a872

Browse files
committed
feat: Auto deploy docs
1 parent 672d665 commit 139a872

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,12 @@ jobs:
3737
with:
3838
name: Documentation
3939
path: docs/build/
40+
41+
- name: Deploy
42+
uses: cloudflare/wrangler-action@v3
43+
if: github.ref == 'refs/heads/dev'
44+
with:
45+
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_KEY }}
46+
accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT_ID }}
47+
command: pages deploy docs/build/ --project-name=lavalink4net
48+
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)