diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f6ed0dd..2e80be9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -17,14 +17,14 @@ jobs: git config --global user.email "radim@lipovcan.cz" - name: Build | Clone repository run: | - git clone https://ownercz:${{ secrets.CLONE_GITEA_TOKEN }}@git.lipovcan.cz/ownercz/playerservers-edits.git + git clone https://ownercz:${{ secrets.CLONE_GITEA_TOKEN }}@git.lipovcan.cz/PlayerServers/PlayerServers-Source.git cd playerservers-edits && ls -lah - name: Build | Gradlew build run: | - cd playerservers-edits && ls -lah && git checkout recode-update + cd playerservers-edits && ls -lah && git checkout main mvn clean install && ls -lah && ls */ -lah && ls */* -lah&& ls */*/* -lah - name: Build | publish jar run: | - tar -czf playerservers-recode-update-$(date +"%H-%M--%d-%m-%Y").tar.gz playerservers-edits/ - curl --insecure --user username:mypass -T playerservers-recode-update-$(date +"%H-%M--%d-%m-%Y").tar.gz ftp://192.168.10.133:/ + tar -czf playerservers-main-$(date +"%H-%M--%d-%m-%Y").tar.gz playerservers-edits/ + curl --insecure --user username:mypass -T playerservers-main-$(date +"%H-%M--%d-%m-%Y").tar.gz ftp://192.168.10.133:/ \ No newline at end of file