Skip to content

Commit 4570bd1

Browse files
authored
Merge pull request #124 from searleser97/develop
update
2 parents 5701fd3 + ce7e707 commit 4570bd1

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,24 @@ name: docs
33
on:
44
push:
55
branches:
6-
- docs
76
- master
7+
permissions:
8+
contents: write
89

910
jobs:
1011
build-and-deploy:
1112
runs-on: ubuntu-latest
1213
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
1716

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.
1918
run: |
2019
yarn
21-
yarn build
20+
yarn build
2221
working-directory: website/
2322

24-
- name: Deploy
25-
uses: JamesIves/github-pages-deploy-action@3.7.1
23+
- name: Deploy 🚀
24+
uses: JamesIves/github-pages-deploy-action@v4
2625
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

Comments
 (0)