Skip to content

Commit a1dc88c

Browse files
committed
fix zip file in release
1 parent 1b9f244 commit a1dc88c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,15 @@ jobs:
522522
args: '*.deb'
523523

524524
- name: Prepare install-docker.zip
525+
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
525526
run: |
526527
cd docker/install
527528
mkdir -p geotrek/var
528529
cp * ./geotrek 2>/dev/null || :
529530
zip -r ../install-docker.zip geotrek/
530531
531532
- name: Attach zip archive as release binary
533+
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
532534
uses: skx/github-action-publish-binaries@master
533535
env:
534536
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)