diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 0000000..7068cfc --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,31 @@ +name: Maven Package + +on: + release: + types: [created] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + server-id: github + settings-path: ${{ github.workspace }} + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} + env: + GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 56e638e..abb9ebd 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,9 @@ MinecraftManager 17 + + true + true @@ -22,11 +25,8 @@ spring-boot-starter - - org.springframework.boot - spring-boot-starter-test - test - + + org.springframework.boot spring-boot-starter-web @@ -99,6 +99,8 @@ org.springframework.boot spring-boot-maven-plugin + + @@ -107,6 +109,11 @@ + + + org.apache.maven.plugins + maven-compiler-plugin + @@ -117,5 +124,11 @@ - - + + + github + GitHub Packages + https://maven.pkg.github.com/LeisureTimeDock/MinecraftLTDWhitelistSystem + + + \ No newline at end of file diff --git a/src/main/resources/static/pic/1_1.png b/src/main/resources/static/pic/1_1.png new file mode 100644 index 0000000..288afc0 Binary files /dev/null and b/src/main/resources/static/pic/1_1.png differ diff --git a/src/main/resources/templates/player/apply.html b/src/main/resources/templates/player/apply.html index 2614ed3..9afe410 100644 --- a/src/main/resources/templates/player/apply.html +++ b/src/main/resources/templates/player/apply.html @@ -107,10 +107,10 @@

最近 -
服务器某刻正在上演着趣事……服务器迈入机械动力时代,而且是1.20.1……
-

性感莫莫,在线被调

+ src="/pic/1_1.png">

+

终于玩上机械动力了/(ㄒoㄒ)/~~

  • @@ -229,7 +229,7 @@
    白名单系统 :
    服务器群 :
    -
    776306754 +
    538751386
    @@ -301,7 +301,7 @@