url fixed.

This commit is contained in:
AirryCo
2024-11-26 14:31:24 +08:00
parent e4fd12517c
commit 050daff76d
2 changed files with 9 additions and 11 deletions

View File

@@ -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

View File

@@ -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 }}