From 2bee817280a3392c1be6b5d7530f72e5b989f2c4 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Sun, 1 Mar 2020 18:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20bugfix:=20fix=20action=20if=20er?= =?UTF-8?q?ror?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 1 + .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 635fe115..6086a09f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node_version }} + - run: echo ${{github.ref}} - run: yarn - run: yarn run lint - run: yarn run tsc diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5762e17b..89449cf0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ on: [push] jobs: build-and-deploy: runs-on: ubuntu-latest - if: github.ref == 'master' + if: github.ref == 'refs/heads/master' steps: - name: Checkout uses: actions/checkout@master