-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from xiaolai/deploy/1000h
Deploy/1000h
- Loading branch information
Showing
8 changed files
with
70 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Deploy 1000h website | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
path: | ||
- "1000-hours/**" | ||
pull_request: | ||
branches: | ||
- main | ||
path: | ||
- "1000-hours/**" | ||
jobs: | ||
deploy: | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Deploy | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
workingDirectory: "1000-hours" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
{ | ||
"private": true, | ||
"name": "1000-hours", | ||
"devDependencies": { | ||
"markdown-it-footnote": "^4.0.0", | ||
"markdown-it-ins": "^4.0.0", | ||
"markdown-it-mark": "^4.0.0", | ||
"markdown-it-mathjax3": "^4.3.2", | ||
"markdown-it-sub": "^2.0.0", | ||
"markdown-it-sup": "^2.0.0", | ||
"mermaid": "^10.8.0", | ||
"sass": "^1.70.0", | ||
"vitepress": "^1.0.0-rc.42", | ||
"vitepress-plugin-mermaid": "^2.0.16", | ||
"vue": "^3.4.18" | ||
}, | ||
"scripts": { | ||
"dev": "vitepress dev", | ||
"build": "vitepress build", | ||
"preview": "vitepress preview" | ||
"docs:dev": "vitepress dev", | ||
"docs:build": "vitepress build", | ||
"docs:preview": "vitepress preview" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.