File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : Deploy to GitHub Pages
33
44on :
5- # Runs on pushes targeting the default branch
5+ # Runs on pushes targeting the specified branch
66 push :
7- branches : ["main"]
7+ branches : ["nextUpdate"] # Changed to match your branch name
88
99 # Allows you to run this workflow manually from the Actions tab
1010 workflow_dispatch :
2828 - name : Checkout
2929 uses : actions/checkout@v4
3030 with :
31- fetch-depth : 0 # Not needed if lastUpdated is not enabled
31+ fetch-depth : 0
3232 - name : Setup Node
3333 uses : actions/setup-node@v4
3434 with :
@@ -37,12 +37,12 @@ jobs:
3737 - name : Setup Pages
3838 uses : actions/configure-pages@v4
3939 - name : Install dependencies
40+ working-directory : docs
4041 run : |
41- cd docs
42- npm ci
42+ npm clean-install
4343 - name : Build
44+ working-directory : docs
4445 run : |
45- cd docs
4646 npm run docs:build
4747 - name : Upload artifact
4848 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 44 "description" : " Documentation for Meine - A terminal-based file management application" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "docs:dev" : " vitepress dev" ,
8- "docs:build" : " vitepress build" ,
9- "docs:preview" : " vitepress preview"
7+ "docs:dev" : " vitepress dev . " ,
8+ "docs:build" : " vitepress build . " ,
9+ "docs:preview" : " vitepress preview . "
1010 },
1111 "keywords" : [
1212 " documentation" ,
You can’t perform that action at this time.
0 commit comments