diff --git a/.github/workflows/create-pack.yml b/.github/workflows/create-pack.yml index c895ab139..4dfd6f750 100644 --- a/.github/workflows/create-pack.yml +++ b/.github/workflows/create-pack.yml @@ -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" \ No newline at end of file