File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 36
36
url : https://docs-api.talawa.io
37
37
steps :
38
38
- uses : actions/checkout@v4
39
- - uses : pnpm/action-setup@v4
40
- - uses : actions/cache@v3
39
+ - uses : actions/setup-node@v4
41
40
with :
42
- path : docs/.docusaurus
43
- key : docusaurus-${{ hashFiles('docs/**') }}
44
- restore-keys : |
45
- docusaurus-
41
+ node-version : ' 20.x'
46
42
-
uses :
webfactory/[email protected]
47
43
with :
48
44
ssh-private-key : ${{ secrets.DEPLOY_GITHUB_PAGES }}
54
50
run : |
55
51
git config --global user.email "[email protected] "
56
52
git config --global user.name "gh-actions"
57
- if ! pnpm install --frozen-lockfile; then
58
- echo "Failed to install dependencies"
59
- exit 1
60
- fi
61
- if ! pnpm run deploy; then
62
- echo "Deployment failed"
63
- exit 1
64
- fi
53
+ yarn install --frozen-lockfile
54
+ yarn deploy
55
+
You can’t perform that action at this time.
0 commit comments