We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e9fe7 commit d21a702Copy full SHA for d21a702
.github/workflows/php.yml .github/workflows/ci.yml.github/workflows/php.yml renamed to .github/workflows/ci.yml
@@ -2,13 +2,14 @@ name: Test & Deploy
2
3
on:
4
push:
5
- branches: [ "main" ]
+ branches:
6
+ - '*'
7
+ pull_request:
8
9
10
11
permissions:
12
contents: read
- issues: write
- pull-requests: write
- packages: write
13
14
jobs:
15
test:
@@ -43,8 +44,12 @@ jobs:
43
44
45
deploy:
46
needs: test
47
+ if: github.ref == 'refs/heads/main' # Only deploy on main
48
49
contents: write
50
+ issues: write
51
+ pull-requests: write
52
+ packages: write
53
runs-on: ubuntu-latest
54
55
steps:
0 commit comments