Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
linsyking authored Aug 10, 2024
1 parent 4c71528 commit e70c219
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: pnpm/action-setup@v4
with:
version: latest
Expand All @@ -36,11 +38,10 @@ jobs:
run: pnpm exec prettier . --check
- name: Build
run: make build
- name: Install netlify tools
run: pnpm install -g netlify-cli
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: "./build"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1
run: netlify deploy --dir build --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --prod

0 comments on commit e70c219

Please sign in to comment.