Fix for dev release workflow
This commit is contained in:
@@ -2,7 +2,8 @@ name: Dev Build (GitHub Pages)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [$default-branch]
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
@@ -36,11 +37,11 @@ jobs:
|
||||
download: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/dev/deltagreen.zip
|
||||
|
||||
- name: Copy system.json
|
||||
run: mkdir dist && cp system.json dist/dev-system.json
|
||||
run: mkdir -p dist/dev && cp system.json dist/dev/dev-system.json
|
||||
|
||||
- name: Zip
|
||||
run: |
|
||||
zip -r dist/deltagreen.zip . \
|
||||
zip -r dist/dev/deltagreen.zip . \
|
||||
-x "packs/source/*" \
|
||||
-x "build/*" \
|
||||
-x ".*" \
|
||||
|
||||
Reference in New Issue
Block a user