Skip to content

Commit d587e27

Browse files
committed
fix: netlify run
1 parent 47ddc5c commit d587e27

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- name: Deploy to Netlify
5757
run: npx --yes netlify-cli@latest deploy --dir=build --prod --message "Deploy from GitHub Actions — ${{ github.sha }}"
5858
env:
59+
CI: 'true'
5960
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6061
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
6162
timeout-minutes: 5

‎netlify.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build]
2-
# Build is handled by GitHub Actions — skip Netlify's auto-build.
2+
# Build and deploy is handled by GitHub Actions.
3+
# Netlify auto-builds are skipped to avoid duplicate deploys.
34
ignore = "exit 0"
45
publish = "build"
56

0 commit comments

Comments
 (0)