Skip to content

Commit

Permalink
chore(ci): fix branch name in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
japsu committed Sep 4, 2023
1 parent 2e6e6e7 commit 13e2bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cicd
on:
push:
branches:
- master
- main

jobs:
build:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
deploy:
runs-on: self-hosted
needs: build
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v1
- name: Get build.json from build step
Expand Down

0 comments on commit 13e2bf0

Please sign in to comment.