File tree Expand file tree Collapse file tree
packages/react-image-upload Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "commit" : false ,
55 "fixed" : [],
66 "linked" : [],
7- "access" : " restricted " ,
7+ "access" : " public " ,
88 "baseBranch" : " main" ,
99 "updateInternalDependencies" : " patch" ,
1010 "ignore" : []
Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ paths :
6+ - " docs/**"
7+ branches :
8+ - main
9+ # Review gh actions docs if you want to further define triggers, paths, etc
10+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : false
15+
16+ jobs :
17+ build :
18+ name : Build Docusaurus
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : pnpm/action-setup@v4
23+ with :
24+ version : 9
25+
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : 22
29+ cache : " pnpm"
30+
31+ - run : pnpm install
32+ - name : Build website
33+ run : pnpm docs:build
34+
35+ - name : Upload Build Artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : ./docs/build
39+
40+ deploy :
41+ name : Deploy to GitHub Pages
42+ needs : build
43+
44+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
45+ permissions :
46+ pages : write # to deploy to Pages
47+ id-token : write # to verify the deployment originates from an appropriate source
48+
49+ # Deploy to the github-pages environment
50+ environment :
51+ name : github-pages
52+ url : ${{ steps.deployment.outputs.page_url }}
53+
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Deploy to GitHub Pages
57+ id : deployment
58+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ name: Release
55
66on :
77 push :
8+ paths :
9+ - " .changeset/**"
10+ - " packages/**"
811 branches :
912 - main
1013
Original file line number Diff line number Diff line change 4242 },
4343 "files" : [
4444 " dist"
45- ],
46- "publishConfig" : {
47- "registry" : " https://registry.npmjs.org" ,
48- "access" : " public"
49- }
45+ ]
5046}
You can’t perform that action at this time.
0 commit comments