Fix CI/CD: use public git.thefetagroup.com URL
This commit is contained in:
@@ -10,8 +10,8 @@ on:
|
||||
env:
|
||||
REGISTRY: gitea.thefetagroup.com
|
||||
IMAGE_NAME: bnair/cryptobot
|
||||
# Internal Docker network URL for git operations
|
||||
GITEA_INTERNAL_URL: http://gitea:3000
|
||||
# Gitea URL for git operations
|
||||
GITEA_URL: https://git.thefetagroup.com
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 ${{ env.GITEA_INTERNAL_URL }}/bnair/CryptoTrading.git .
|
||||
git clone --depth 1 ${{ env.GITEA_URL }}/bnair/CryptoTrading.git .
|
||||
git fetch origin ${{ github.sha }} --depth 1
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 ${{ env.GITEA_INTERNAL_URL }}/bnair/CryptoTrading.git .
|
||||
git clone --depth 1 ${{ env.GITEA_URL }}/bnair/CryptoTrading.git .
|
||||
git fetch origin ${{ github.ref_name }} --depth 1
|
||||
git checkout ${{ github.ref_name }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user