Break out Zip into its own action
This commit is contained in:
@@ -40,14 +40,9 @@ jobs:
|
||||
run: mkdir -p dist/dev && cp system.json dist/dev/dev-system.json
|
||||
|
||||
- name: Zip
|
||||
run: |
|
||||
zip -r dist/dev/deltagreen.zip . \
|
||||
-x "packs/source/*" \
|
||||
-x "build/*" \
|
||||
-x ".*" \
|
||||
-x "package.json" \
|
||||
-x "package-lock.json" \
|
||||
-x "node_modules/*"
|
||||
uses: ./.github/actions/zip-system
|
||||
with:
|
||||
path: "dist/dev"
|
||||
|
||||
# Deploy to GitHub Pages (see https://github.com/actions/starter-workflows/blob/main/pages/static.yml)
|
||||
- name: Setup Pages
|
||||
|
||||
@@ -38,14 +38,7 @@ jobs:
|
||||
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/deltagreen.zip
|
||||
|
||||
- name: Zip
|
||||
run: |
|
||||
zip -r deltagreen.zip . \
|
||||
-x "packs/source/*" \
|
||||
-x "build/*" \
|
||||
-x ".*" \
|
||||
-x "package.json" \
|
||||
-x "package-lock.json" \
|
||||
-x "node_modules/*"
|
||||
uses: ./.github/actions/zip-system
|
||||
|
||||
- name: Update Release with Artifacts
|
||||
uses: ncipollo/release-action@v1.13.0
|
||||
|
||||
Reference in New Issue
Block a user