Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
update: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yuantuo666 committed Nov 24, 2023
1 parent 1fc9112 commit 1f0540d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'v*'

# git tag -a v1.0.0
# git push origin v1.0.0

env:
IMAGE_NAME: baiduwp-php

Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
run: docker exec baiduwp-php apt-get update && docker exec baiduwp-php apt-get install -y zip

- name: Pack source code
run: docker exec baiduwp-php zip -r /tmp/baiduwp-php.zip /app
run: docker exec baiduwp-php zip -r /tmp/baiduwp-php.zip /app/*

- name: Copy source code
run: docker cp baiduwp-php:/tmp/baiduwp-php.zip ./baiduwp-php-v${{ env.VERSION }}.zip
Expand Down

0 comments on commit 1f0540d

Please sign in to comment.