From 730bce53fce3f57a6ae8544ca5008c7f68d286fd Mon Sep 17 00:00:00 2001 From: alexmendes Date: Mon, 23 Aug 2021 04:04:03 +0100 Subject: [PATCH] build: make deployable --- .github/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index adbf533..eae1601 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main jobs: test: @@ -19,8 +19,8 @@ jobs: run: yarn test - name: Build run: yarn run build - # - name: Release - # env: - # GITHUB_TOKEN: ${{ secrets.NEXT_MICRO_SEMANTIC_RELEASE_GH_TOKEN }} - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # run: yarn run semantic-release + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.NEXT_MICRO_SEMANTIC_RELEASE_GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: yarn run semantic-release