Skip to content

Commit

Permalink
Update deploy-docusaurus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmulji-ic committed Aug 31, 2023
1 parent d32c288 commit 64d61e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-docusaurus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy to GitHub Pages

on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -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
Expand All @@ -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

0 comments on commit 64d61e5

Please sign in to comment.