From 39673ca4719c1257dac4d82d3d3812c4fc7529ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=91=9E=E4=BA=95=20=E7=AE=95=E6=9C=88?= <6161.k.iga@gmail.com> Date: Fri, 24 Nov 2023 22:39:31 +0900 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f22b810..e16461b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,8 @@ -on: push +on : + workflow_dispatch: + push: + branches: + - main name: 🚀 Deploy website on push jobs: web-deploy: @@ -14,4 +18,4 @@ jobs: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} - server-dir:${{ secrets.FTP_SERVER_DIR }} + server-dir: ${{ secrets.FTP_SERVER_DIR }}