diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23a23b5..bffe945 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: CI +name: Build on: pull_request jobs: build: @@ -11,4 +11,4 @@ jobs: cmd: install # will run `yarn install` command - uses: borales/actions-yarn@v3.0.0 with: - cmd: build # will run `yarn build` command \ No newline at end of file + cmd: build # will run `yarn build` command diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index ec8dab1..2063765 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -1,15 +1,11 @@ -name: build and push code +name: CI on: push: branches: - main - pull_request: - branches: - - main - jobs: git-push: - name: build and push + name: Build and push runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -29,8 +25,8 @@ jobs: user-email: dev.kayoung@gmail.com target-branch: main sync-branches: + name: Sync main -> develop runs-on: ubuntu-latest - name: Syncing develop branch with main steps: - name: Checkout uses: actions/checkout@v2