chore(deps-dev): bump @docusaurus/module-type-aliases from 3.1.0 to 3… #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy | |
on: | |
push: | |
paths: | |
- ".github/workflows/deploy.yaml" | |
- "docs/**" | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docs | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v3 | |
- name: ⚙️ Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: yarn | |
cache-dependency-path: docs/yarn.lock | |
- name: 📦 Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: ✨ Check Format | |
run: yarn run format:check | |
- name: 🧹 Lint | |
run: yarn run lint | |
- name: 👷 Build website | |
run: yarn build | |
- name: ☁️ Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./docs/build | |
user_name: github-actions[bot] | |
user_email: 41898282+github-actions[bot]@users.noreply.github.com |