You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/docs.yml
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -3,28 +3,24 @@ name: docs
3
3
on:
4
4
push:
5
5
branches:
6
-
- docs
7
6
- master
7
+
permissions:
8
+
contents: write
8
9
9
10
jobs:
10
11
build-and-deploy:
11
12
runs-on: ubuntu-latest
12
13
steps:
13
-
- name: Checkout
14
-
uses: actions/checkout@v2.3.1
15
-
with:
16
-
persist-credentials: false
14
+
- name: Checkout 🛎️
15
+
uses: actions/checkout@v4
17
16
18
-
- name: Install and Build
17
+
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
19
18
run: |
20
19
yarn
21
-
yarn build
20
+
yarn build
22
21
working-directory: website/
23
22
24
-
- name: Deploy
25
-
uses: JamesIves/github-pages-deploy-action@3.7.1
23
+
- name: Deploy 🚀
24
+
uses: JamesIves/github-pages-deploy-action@v4
26
25
with:
27
-
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
28
-
BRANCH: gh-pages
29
-
FOLDER: website/build
30
-
CLEAN: true
26
+
folder: website/build # The folder the action should deploy.
0 commit comments