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