File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish shared component documentation
2+ on :
3+ workflow_dispatch : {}
4+
5+ permissions : {}
6+
7+ jobs :
8+ doc :
9+ name : Publish Documentation
10+ runs-on : ubuntu-latest
11+ environment : SharedComponents
12+ steps :
13+ - name : 🧮 Checkout code
14+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
15+
16+ - name : 🔧 Yarn cache
17+ uses : actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
18+ with :
19+ cache : " yarn"
20+ node-version-file : package.json
21+
22+ - name : 🔨 Install dependencies
23+ run : " yarn install --pure-lockfile"
24+
25+ - name : 📖 Generate docs
26+ run : yarn build:docs
27+
28+ - name : 🚀 Deploy to Cloudflare Pages
29+ uses : cloudflare/wrangler-action@9681c2997648301493e78cacbfb790a9f19c833f # v3
30+ with :
31+ apiToken : ${{ secrets.CF_PAGES_TOKEN }}
32+ accountId : ${{ secrets.CF_PAGES_ACCOUNT_ID }}
33+ command : pages deploy _docs --project-name=shared-components-docs
You can’t perform that action at this time.
0 commit comments