mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
chore(ci): add GitHub Action to build+deploy coder.com whenever docs change
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name: Deploy docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
deploy-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy docs site
|
||||
run: |
|
||||
curl -X POST "${{ secrets.DEPLOY_DOCS_VERCEL_WEBHOOK }}"
|
||||
Reference in New Issue
Block a user