File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy Docusaurus website to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main # or your default branch
7
+
8
+ jobs :
9
+ deploy :
10
+ runs-on : ubuntu-latest
11
+ defaults :
12
+ run :
13
+ working-directory : website
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0 # Required for docusaurus to push to gh-pages
20
+
21
+ - name : Setup Node.js
22
+ uses : actions/setup-node@v4
23
+ with :
24
+ node-version : 18
25
+
26
+ - name : Install dependencies
27
+ run : npm ci
28
+
29
+ - name : Build website
30
+ run : npm run build
31
+
32
+ - name : Deploy to GitHub Pages
33
+ env :
34
+ GIT_USER : github-actions[bot]
35
+ GIT_PASS : ${{ secrets.GITHUB_TOKEN }}
36
+ run : |
37
+ npx docusaurus deploy
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const config = {
23
23
url : 'https://ieeta-pt.github.io' ,
24
24
// Set the /<baseUrl>/ pathname under which your site is served
25
25
// For GitHub pages deployment, it is often '/<projectName>/'
26
- baseUrl : '/CoPipes/website/ ' ,
26
+ baseUrl : '/CoPipes/' ,
27
27
28
28
// GitHub pages deployment config.
29
29
// If you aren't using GitHub pages, you don't need these.
You can’t perform that action at this time.
0 commit comments