From 25eae114adb2c809119a124889db74d66d993d00 Mon Sep 17 00:00:00 2001 From: carm Date: Sun, 19 Feb 2023 03:42:36 +0800 Subject: [PATCH] =?UTF-8?q?chore(deploy):=20=E6=94=BE=E5=BC=83=E4=B8=AD?= =?UTF-8?q?=E5=A4=AE=E5=BA=93=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 46 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 302003a..c1efa0a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -109,26 +109,26 @@ jobs: git commit -m "API Document generated." git push origin HEAD:gh-pages --force - central-deploy: - name: "Deploy Project (Central)" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: "Set up JDK" - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - cache: maven - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import - gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - - - name: "Central Deploy" - run: mvn -B -Possrh deploy --file pom.xml -DskipTests - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USER }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} +# central-deploy: +# name: "Deploy Project (Central)" +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: "Set up JDK" +# uses: actions/setup-java@v2 +# with: +# java-version: '11' +# distribution: 'adopt' +# cache: maven +# server-id: ossrh +# server-username: MAVEN_USERNAME +# server-password: MAVEN_PASSWORD +# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import +# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase +# +# - name: "Central Deploy" +# run: mvn -B -Possrh deploy --file pom.xml -DskipTests +# env: +# MAVEN_USERNAME: ${{ secrets.OSSRH_USER }} +# MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }} +# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}