Commit 0f81a66 1 parent 967fb85 commit 0f81a66 Copy full SHA for 0f81a66
File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,19 @@ name: Build and Deploy
2
2
run-name : ${{ github.actor }} is building and deploying the app 🏗️
3
3
on :
4
4
push :
5
+ branches :
6
+ - main
5
7
# If we specify branches: [main] here it will run for any matching tags or push on branch main
6
8
tags : ['v[0-9].[0-9]+.[0-9]+']
7
9
workflow_dispatch :
8
10
permissions :
9
11
users :
10
12
- github.repository_owner
11
13
12
-
13
14
jobs :
14
15
build-musl :
15
16
runs-on : ubuntu-latest
16
- # So we need to put the condition in the if here
17
- if : ${{ (github.actor == github.event.repository.owner.login) && (github.ref == 'refs/heads/main') }}
18
-
17
+
19
18
steps :
20
19
- name : Run sccache-cache
21
20
uses : mozilla-actions/sccache-action@v0.0.3
60
59
name : Deploy
61
60
runs-on : ubuntu-latest
62
61
needs : build-musl
63
- if : github.actor == github.event.repository.owner.login
64
62
65
63
steps :
66
64
- name : Set the Kubernetes context
You can’t perform that action at this time.
0 commit comments