From 7ace85e7f90d99da1cf866fc833cb3d959599d24 Mon Sep 17 00:00:00 2001 From: Kexy Biscuit Date: Thu, 3 Oct 2024 12:10:36 +0800 Subject: [PATCH] ci: simplify deployment condition --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3b2bc2d..95f8d73 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - name: Deploy to website shell: bash - if: ${{ github.event.push && github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/master' }} run: | mkdir -p ~/.ssh echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts