Skip to content

Commit 32ffa6a

Browse files
committed
fix deploy action
1 parent ae76ec7 commit 32ffa6a

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ jobs:
1818
- name: Test Build
1919
run: |
2020
cd documentation
21-
if [ -e yarn.lock ]; then
2221
yarn install --frozen-lockfile
23-
elif [ -e package-lock.json ]; then
24-
npm ci
25-
else
26-
npm i
27-
fi
2822
npm run build
2923
gh-release:
3024
if: github.event_name != 'pull_request'
@@ -56,11 +50,5 @@ jobs:
5650
git config --global user.email "[email protected]"
5751
git config --global user.name "gh-actions"
5852
cd documentation
59-
if [ -e yarn.lock ]; then
6053
yarn install --frozen-lockfile
61-
elif [ -e package-lock.json ]; then
62-
npm ci
63-
else
64-
npm i
65-
fi
66-
npx docusaurus deploy
54+
yarn deploy

0 commit comments

Comments
 (0)