From 050daff76dde342dadf72a8e59626be86a27d07d Mon Sep 17 00:00:00 2001 From: AirryCo Date: Tue, 26 Nov 2024 14:31:24 +0800 Subject: [PATCH] url fixed. --- .github/workflows/build-nightly-cron.yaml | 12 +++++------- .github/workflows/build-release-cron.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-nightly-cron.yaml b/.github/workflows/build-nightly-cron.yaml index 5a9eeeb..61ad233 100644 --- a/.github/workflows/build-nightly-cron.yaml +++ b/.github/workflows/build-nightly-cron.yaml @@ -284,8 +284,6 @@ jobs: OUTPUT_DIR: spt-server SOURCECODE_DIR: ${{ github.workspace }}/code - SPT_USER: medusa - SPT_REGISTRY: dev.sp-tarkov.com DOCKERHUB_USER: stblog DOCKERHUB_REPOSITORY: spt-server GHCR_USER: airryco @@ -471,8 +469,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: | ${{ steps.meta.outputs.labels }} - org.opencontainers.image.source=https://dev.sp-tarkov.com/medusa/spt-server - org.opencontainers.image.url=https://dev.sp-tarkov.com/medusa/spt-server + org.opencontainers.image.source=https://github.com/AirryCo/spt-server + org.opencontainers.image.url=https://github.com/AirryCo/spt-server org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }} platforms: linux/amd64,linux/arm64 - name: Build and Push with Fika Server @@ -485,8 +483,8 @@ jobs: tags: ${{ steps.meta-fika.outputs.tags }} labels: | ${{ steps.meta.outputs.labels }} - org.opencontainers.image.source=https://dev.sp-tarkov.com/medusa/spt-server - org.opencontainers.image.url=https://dev.sp-tarkov.com/medusa/spt-server + org.opencontainers.image.source=https://github.com/AirryCo/spt-server + org.opencontainers.image.url=https://github.com/AirryCo/spt-server org.opencontainers.image.revision=${{ steps.debug-info.outputs.COMMIT_ID_WHOLE }} platforms: linux/amd64,linux/arm64 @@ -494,7 +492,7 @@ jobs: run: | cd ${{ env.SOURCECODE_DIR }} git pull - REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@dev.sp-tarkov.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" + REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@github.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" git remote set-url origin "$REMOTE_URL" git push shell: bash diff --git a/.github/workflows/build-release-cron.yaml b/.github/workflows/build-release-cron.yaml index 96cc2ec..cedaee5 100644 --- a/.github/workflows/build-release-cron.yaml +++ b/.github/workflows/build-release-cron.yaml @@ -109,7 +109,7 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "bot@github.com" - - name: Clone Medusa's Windows Server Code + - name: Clone AirroCo's Windows Server Code run: | git clone -b ${{ env.RELEASE_BRANCH }}_Win ${{ env.SERVER_URL }}/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }} ${{ env.SOURCECODE_DIR }} cd ${{ env.SOURCECODE_DIR }} @@ -189,7 +189,7 @@ jobs: run: | cd ${{ env.SOURCECODE_DIR }} git pull - REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@dev.sp-tarkov.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" + REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@github.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" git remote set-url origin "$REMOTE_URL" git push shell: bash @@ -221,7 +221,7 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "bot@github.com" - - name: Clone Medusa's Linux Server Code + - name: Clone AirryCo's Linux Server Code run: | git clone -b ${{ env.RELEASE_BRANCH }} ${{ env.SERVER_URL }}/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }} ${{ env.SOURCECODE_DIR }} cd ${{ env.SOURCECODE_DIR }} @@ -390,7 +390,7 @@ jobs: run: | cd ${{ env.SOURCECODE_DIR }} git pull - REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@dev.sp-tarkov.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" + REMOTE_URL="https://AirryCo:${{ secrets.AIRRYCO_TOKEN }}@github.com/${{ env.REPOSITORY_SPT_SERVER_AIRRYCO }}.git" git remote set-url origin "$REMOTE_URL" git push git tag -d ${{ needs.prepare.outputs.TARGET_TAG }}