diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 517f883..c59e688 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -61,7 +61,7 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master - if: ${{ steps.commit.outcome === 'success' && (github.event_name == 'push' || github.event_name == 'repository_dispatch') }} + if: ${{ steps.commit.outcome == 'success' && (github.event_name == 'push' || github.event_name == 'repository_dispatch') }} with: github_token: ${{ secrets.PUSH_TOKEN }} directory: ./dist @@ -69,7 +69,7 @@ jobs: - name: Upload run: yarn upload - if: ${{ steps.commit.outcome === 'success' && (github.event_name == 'push' || github.event_name == 'repository_dispatch') }} + if: ${{ steps.commit.outcome == 'success' && (github.event_name == 'push' || github.event_name == 'repository_dispatch') }} env: UPLOAD_REMOTE: ${{ secrets.UPLOAD_REMOTE }} UPLOAD_DIST: ${{ secrets.UPLOAD_DIST }}