From 1cff44ba78538e045673a465a3a7e7ce43e140c8 Mon Sep 17 00:00:00 2001 From: renhoutan Date: Fri, 21 Jun 2024 09:41:47 +0800 Subject: [PATCH] fix: workflows --- .github/workflows/spiderapi-deploy.yml | 4 +++- .gitignore | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spiderapi-deploy.yml b/.github/workflows/spiderapi-deploy.yml index 8d4b41b05..4f7ce703f 100644 --- a/.github/workflows/spiderapi-deploy.yml +++ b/.github/workflows/spiderapi-deploy.yml @@ -1,5 +1,7 @@ name: Build and Deploy -on: [push] +on: + push: + branches: [ main ] jobs: build-and-deploy: runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index 0086a5a21..e410cf060 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ urls.txt # mac .DS_Store + +dist