diff --git a/.gitea/workflows/zip_pack.yaml b/.gitea/workflows/zip_pack.yaml deleted file mode 100644 index 1e2b41c..0000000 --- a/.gitea/workflows/zip_pack.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: Zip Pack -on: - push: - branches: - - live - -jobs: - deploy-prod: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: https://git.lzstealth.com/actions/checkout@v4 - with: - submodules : true - - name: Create Output Dir - run: mkdir output output/assets - - name: MC Meta from first - run: find $(ls -d ./packs/*|head -n 1) -maxdepth 1 -type f | xargs cp -t ./output - - name: Copying into one directory - run: cp -r --update=none ./packs/*/assets/* ./output/assets - - name: Zip Repository - run: cd output && zip -r "${{ gitea.workspace }}/${{ vars.FILE_NAME }}.zip" . - - name: Get current date - id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S')" - - name: Create Release - id: create_release - uses: https://git.lzstealth.com/actions/gitea-release-action@v1 - with: - name: Resource Pack - body: |- - Resource Pack update ${{ steps.date.outputs.date }} - files: |- - ${{ gitea.workspace }}/${{ vars.FILE_NAME }}.zip \ No newline at end of file