Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamsGeeky committed Dec 13, 2023
1 parent bbc122a commit ed440c0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: write
Expand All @@ -14,6 +12,10 @@ jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
defaults:
run:
working-directory: app

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -23,11 +25,11 @@ jobs:

- name: Install dependencies
run: npm ci
working-directory: app


- name: Build website
run: npm run build
working-directory: app


# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Expand Down

0 comments on commit ed440c0

Please sign in to comment.