diff --git a/workflows/main.yml b/workflows/main.yml new file mode 100644 index 0000000..ac7f1bd --- /dev/null +++ b/workflows/main.yml @@ -0,0 +1,18 @@ +name: Zip Project + +on: + push: + branches: + - "main" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Zip Project + run: zip -r fantasysmp.zip assets pack.mcmeta pack.png + - name: Release + uses: akkuman/gitea-release-action@v1 + with: + files: ./fantasysmp.zip + token: "${{secrets.RELEASE_TOKEN}}"