diff --git a/.github/workflows/deploy-docusaurus.yml b/.github/workflows/deploy-docusaurus.yml index c736e03adaa..e6326f0c05c 100644 --- a/.github/workflows/deploy-docusaurus.yml +++ b/.github/workflows/deploy-docusaurus.yml @@ -1,6 +1,8 @@ name: Deploy to GitHub Pages on: + workflow_call: + workflow_dispatch: push: branches: - main @@ -19,9 +21,7 @@ jobs: cache: yarn - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Build website - run: yarn build + run: cd docs && npm install --frozen-lockfile && npm run build # Popular action to deploy to GitHub Pages: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus @@ -36,6 +36,6 @@ jobs: # https://github.com/actions/checkout/issues/13#issuecomment-724415212 # The GH actions bot is used by default if you didn't specify the two fields. # You can swap them out with your own user credentials. - user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com + # user_name: github-actions[bot] + # user_email: 41898282+github-actions[bot]@users.noreply.github.com