Update documentation action.

master
Hasan Genc 3 years ago
parent b061f1ec03
commit c709cb15dc
  1. 20
      .github/workflows/documentation.yml
  2. 13944
      website/package-lock.json

@ -18,14 +18,8 @@ jobs:
- name: Test Build - name: Test Build
working-directory: ./website working-directory: ./website
run: | run: |
if [ -e yarn.lock ]; then yarn
yarn install --frozen-lockfile yarn build
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
gh-release: gh-release:
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -42,11 +36,5 @@ jobs:
run: | run: |
git config --global user.email "${{ secrets.GIT_MAIL }}" git config --global user.email "${{ secrets.GIT_MAIL }}"
git config --global user.name "${{ secrets.GIT_USER }}" git config --global user.name "${{ secrets.GIT_USER }}"
if [ -e yarn.lock ]; then yarn
yarn install --frozen-lockfile yarn deploy
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run deploy

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save