File tree Expand file tree Collapse file tree 4 files changed +84
-96
lines changed Expand file tree Collapse file tree 4 files changed +84
-96
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [develop]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - run : composer install
11
+ - run : composer lint
12
+ - run : cd private && corepack enable && yarn && yarn lint && cd ..
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ needs : lint
16
+ permissions :
17
+ contents : write
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - run : composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21
+ - run : composer du -o
22
+ - run : cd private && corepack enable && yarn && yarn build && cd ..
23
+ - run : zip -r humanity-content-security-policy-develop.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24
+ - uses : softprops/action-gh-release@v2
25
+ with :
26
+ draft : true
27
+ files : humanity-content-security-policy-develop.zip
28
+ target_commitish : main
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [main]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - run : composer install
11
+ - run : composer lint
12
+ - run : cd private && corepack enable && yarn && yarn lint && cd ..
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ needs : lint
16
+ permissions :
17
+ contents : write
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - run : composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21
+ - run : composer du -o
22
+ - run : cd private && corepack enable && yarn && yarn build && cd ..
23
+ - run : zip -r ../humanity-content-security-policy.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24
+ - uses : softprops/action-gh-release@v2
25
+ with :
26
+ draft : true
27
+ files : humanity-content-security-policy.zip
28
+ target_commitish : main
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [staging]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - run : composer install
11
+ - run : composer lint
12
+ - run : cd private && corepack enable && yarn && yarn lint && cd ..
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ needs : lint
16
+ permissions :
17
+ contents : write
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - run : composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21
+ - run : composer du -o
22
+ - run : cd private && corepack enable && yarn && yarn build && cd ..
23
+ - run : zip -r humanity-content-security-policy-staging.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24
+ - uses : softprops/action-gh-release@v2
25
+ with :
26
+ draft : true
27
+ files : humanity-content-security-policy-staging.zip
28
+ target_commitish : main
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments