Skip to content

Commit 99b6a4d

Browse files
committed
Fix workflows for deployment
1 parent 856c996 commit 99b6a4d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
on:
22
push:
33
branches:
4-
- main
4+
- master
55
pull_request:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9-
if: github.ref != 'refs/heads/main'
9+
if: github.ref != 'refs/heads/master'
1010
steps:
1111
- name: 'Checkout'
1212
uses: actions/checkout@main
@@ -16,9 +16,10 @@ jobs:
1616
BUILD_DIR: .
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
BUILD_ONLY: true
19+
1920
build_and_deploy:
2021
runs-on: ubuntu-latest
21-
if: github.ref == 'refs/heads/main'
22+
if: github.ref == 'refs/heads/master'
2223
steps:
2324
- name: 'Checkout'
2425
uses: actions/checkout@main

0 commit comments

Comments
 (0)