Skip to content

Commit

Permalink
Fix netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
yoriiis committed May 26, 2023
1 parent 0a4e38e commit f925f3d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: Deploy to GitHub Pages
name: Deploy to Netlify

on:
push:
branches:
- main

jobs:
github:
netlify:
uses: yoriiis/actions/.github/workflows/netlify-deploy.yml@main
with:
node-version: 18.12
build-dir: netlify
command-build: npm run build:netlify
command-build: |
npm run build
npm run build:netlify
cp -r dist/ netlify/assets/
secrets:
NETLIFY_APP_ID: ${{ secrets.NETLIFY_APP_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit f925f3d

Please sign in to comment.