Skip to content

Commit

Permalink
Update package-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder authored Apr 21, 2023
1 parent d99b2c9 commit 6be662d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:
Status : **Build in progress**
EOF
- name: Clean repo
uses: appleboy/[email protected]
with:
host: ${{ secrets.REPO_HOST }}
username: ${{ secrets.REPO_USER }}
key: ${{ secrets.REPO_PRIVATE_KEY }}
script: |
ls -1 ${{ secrets.REPO_TARGET }} | sort -rV | tail +11 | xargs -n1 rm -rf
build:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -97,6 +106,7 @@ jobs:
GH-Action Package-Build on PR merge into v2.x
Updated : **$(date '+%Y-%m-%d %H:%M:%S %Z')**
Status : **Build in progress**
EOF
fi
Expand Down Expand Up @@ -151,7 +161,7 @@ jobs:
Finished : **$(date '+%Y-%m-%d %H:%M:%S %Z')**
Status : **Build in finished**
Status : **Build is finished**
[![Package-Build](https://github.com/${{ github.repository }}/actions/workflows/package-build.yml/badge.svg)](https://github.com/${{ github.repository }}/actions/workflows/package-build.yml)
Expand Down

0 comments on commit 6be662d

Please sign in to comment.