ci: typo (#8)
This commit is contained in:
parent
1160a1e9b7
commit
31931df5cb
1 changed files with 3 additions and 3 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
master
|
||||
main
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
preview:
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy preview
|
||||
if: ${{ github.ref != 'refs/head/master' }}
|
||||
if: ${{ github.ref != 'refs/head/main' }}
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -101,7 +101,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Deploy
|
||||
needs: build
|
||||
if: ${{ github.ref == 'refs/head/master' }}
|
||||
if: ${{ github.ref == 'refs/head/main' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
|
|
Loading…
Reference in a new issue