New deploy workflow and readme

This commit is contained in:
MrMelon54 committed 2024-01-08 19:37:26 +00:00
1 parent c83948ef81
commit 0a61a287a2
2 files changed
+1 -6

No files matched your search

+1 -4
View File
@@ -17,9 +17,6 @@ jobs:
- name: Build
run: ./gradlew build
- name: Compress
run: tar -czvf upload.tar.gz build/libs/merged/*.jar
- name: Deploy
if: startsWith(github.ref, 'refs/tags/v')
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" https://b.mrmelon54.xyz/u/mc-mod/draggable-lists'
run: 'curl --fail -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@$(ls -1 build/libs/merged/*.jar)" https://api.mrmelon54.com/v1/mc-upload/upload/draggable-lists'
-2
View File
@@ -2,8 +2,6 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W1607S8)
Requires the [Fabric Loader](https://fabricmc.net/use/) and [Fabric API](https://modrinth.com/mod/fabric-api)
Logo made by [@CarbonGhost](https://github.com/CarbonGhost)
## Setup