🔧 chore(git): change default branch to main
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: build
|
||||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
branches: ['main']
|
||||
pull_request: {}
|
||||
workflow_call: {}
|
||||
workflow_dispatch: {}
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
node-version: 'lts/*'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependecies
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build
|
||||
|
||||
@@ -4,7 +4,7 @@ name: deploy
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
branches: ['master']
|
||||
branches: ['main']
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user