From 4a7d9b55233637962d0b914aa6e951c040ea2b15 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 23 Jun 2024 11:57:14 +0200 Subject: [PATCH] Revert "improve create pack action" This reverts commit 6785fe05fa39a372c8a324eddce55c39251f1242. --- .github/workflows/create-pack.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/create-pack.yml diff --git a/.github/workflows/create-pack.yml b/.github/workflows/create-pack.yml deleted file mode 100644 index 6a0af72c3..000000000 --- a/.github/workflows/create-pack.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Create Pack -on: - push: - branches: - - '**' - - '!main' -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Create Pack - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.HOST }} - USERNAME: ${{ secrets.USERNAME }} - PORT: ${{ secrets.PORT }} - KEY: ${{ secrets.SSH }} - script: | - [ ! -d "./packs/${{ github.event.repository.name }}/${{ github.ref_name }}" ] && git clone "https://github.com/${{ github.repository }}" -b ${{ github.ref_name }} --single-branch "./packs/${{ github.event.repository.name }}/${{ github.ref_name }}" - cd "./packs/Faithful-Java-32x/${{ github.ref_name }}" - git pull - zip -r "Faithful 32x - ${{ github.ref_name }} Experimental.zip" . -x "*.git*" -x "*.github*" -x ".gitignore" - mv "Faithful 32x - ${{ github.ref_name }} Experimental.zip" "/var/www/html/database.faithfulpack.net/packs/32x-Java/Experimental" \ No newline at end of file