Skip to content

Commit d3c3149

Browse files
authored
Merge pull request #20 from jphacks/CI-change-main
CIをmainに変更
2 parents 2432f02 + 806653c commit d3c3149

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on: push
1010

1111
jobs:
1212
preview:
13-
if: ${{ github.ref != 'refs/heads/release' }}
14-
needs: test
13+
if: ${{ github.ref != 'refs/heads/main' }}
1514
runs-on: ubuntu-latest
1615
environment:
1716
name: preview
@@ -46,8 +45,7 @@ jobs:
4645
run: vercel alias ${{ steps.deploy.outputs.url }} stg.my-service.com --scope=my-team --token=${{ secrets.VERCEL_TOKEN }}
4746

4847
prod:
49-
if: ${{ github.ref == 'refs/heads/release' }}
50-
needs: test
48+
if: ${{ github.ref == 'refs/heads/main' }}
5149
runs-on: ubuntu-latest
5250
steps:
5351
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)