Update create-pack.yml

This commit is contained in:
Robert
2022-08-04 00:58:15 +02:00
parent c1dcbb0ba4
commit d3ed6287f0

View File

@@ -22,8 +22,7 @@ jobs:
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSH }}
script: |
cd "./packs/Faithful-Java-32x"
git checkout ${{ steps.branch-name.outputs.current_branch }}
cd "./packs/Faithful-Java-32x/${{ steps.branch-name.outputs.current_branch }}"
git pull
zip -r "Faithful 32x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" . -x "*.git*" -x "*.github*" -x ".gitignore"
mv "Faithful 32x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" "/var/www/html/database.faithfulpack.net/packs/32x-Java/Experimental"