File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Create Pack
2+ on :
3+ push :
4+ branches-ignore :
5+ - master
6+ - main
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Get branch name
12+ id : branch-name
13+ uses : tj-actions/branch-names@v6.4
14+
15+ - name : Create Pack
16+ uses : appleboy/ssh-action@v0.1.7
17+ with :
18+ host : ${{ secrets.HOST }}
19+ USERNAME : ${{ secrets.USERNAME }}
20+ PORT : ${{ secrets.PORT }}
21+ KEY : ${{ secrets.SSH }}
22+ script : |
23+ [ ! -d "./packs/Faithful-Java-32x/${{ steps.branch-name.outputs.current_branch }}" ] && exit 1
24+ cd "./packs/Faithful-Java-32x/${{ steps.branch-name.outputs.current_branch }}"
25+ git pull
26+ zip -r "Faithful 32x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" . -x "*.git*" -x "*.github*" -x ".gitignore"
27+ mv "Faithful 32x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" "/var/www/html/database.faithfulpack.net/packs/32x-Java/Experimental"
You can’t perform that action at this time.
0 commit comments