Skip to content

Commit f268dab

Browse files
committed
Add PR build ZIP workflow
1 parent 1ca909f commit f268dab

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/pr-build-zip.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Testable ZIP
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
branches: [master]
7+
workflow_dispatch:
8+
9+
jobs:
10+
zip:
11+
uses: wpeverest/.github/.github/workflows/pr-build-zip.yml@master
12+
with:
13+
node-version: '10.x'
14+
php-version: '7.4'
15+
package-manager: npm
16+
composer-install: true
17+
build-command: npm run build
18+
zip-glob: 'release/*.zip'
19+
artifacts-bucket: themegrill-pr-artifacts
20+
public-base-url: https://themegrill-pr-artifacts.s3.amazonaws.com
21+
s3-region: us-east-1
22+
secrets:
23+
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
24+
ARTIFACTS_KEY: ${{ secrets.ARTIFACTS_KEY }}
25+
ARTIFACTS_SECRET: ${{ secrets.ARTIFACTS_SECRET }}

0 commit comments

Comments
 (0)