From e4c92cc0e0da7c1f2c8446ab68140714ac094e6d Mon Sep 17 00:00:00 2001 From: Braydon Date: Fri, 26 Apr 2024 11:03:11 -0700 Subject: [PATCH] Delete .gitea/workflows/deploy-demo-plugin.yml --- .gitea/workflows/deploy-demo-plugin.yml | 54 ------------------------- 1 file changed, 54 deletions(-) delete mode 100644 .gitea/workflows/deploy-demo-plugin.yml diff --git a/.gitea/workflows/deploy-demo-plugin.yml b/.gitea/workflows/deploy-demo-plugin.yml deleted file mode 100644 index 276c84b..0000000 --- a/.gitea/workflows/deploy-demo-plugin.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Deploy Demo Plugin - -on: - push: - branches: ["master"] - paths: - [ - ".gitea/workflows/deploy-demo-plugin.yml", - "DemoSpigotPlugin/**", - "!DemoSpigotPlugin/README.md", - ] - -jobs: - docker: - strategy: - matrix: - java-version: ["17"] - maven-version: ["3.8.5"] - runs-on: "ubuntu-latest" - defaults: - run: - working-directory: "./DemoSpigotPlugin" - - # Steps to run - steps: - # Checkout the repo - - name: Checkout - uses: actions/checkout@v4 - - # Setup Java and Maven - - name: Set up JDK and Maven - uses: s4u/setup-maven-action@v1.12.0 - with: - java-version: ${{ matrix.java-version }} - distribution: "zulu" - maven-version: ${{ matrix.maven-version }} - - # Build and package the jar - - name: Build Jar - run: mvn clean package -q -T4C - - - run: echo "Hello World" > hello.txt - - # Upload the built jar to the - # remote server and restart it - - name: Upload Jar and Restart Remote Server - uses: rexlmanu/pterodactyl-upload-action@v2.4 - with: - panel-host: ${{ secrets.PTERO_URL }} - api-key: ${{ secrets.PTERO_API_KEY }} - server-id: ${{ secrets.DEMO_SERVER_ID }} - source: "hello.txt" - target: "./" - restart: true # Restart after upload