diff --git a/.gitea/workflows/snapshot_admin_deploy.yml b/.gitea/workflows/snapshot_admin_deploy.yml index 090255c..563745f 100644 --- a/.gitea/workflows/snapshot_admin_deploy.yml +++ b/.gitea/workflows/snapshot_admin_deploy.yml @@ -16,16 +16,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout Code - run: | - echo "[deploy] checkout main for snapshot admin runtime" - if [ -d .git ]; then - git remote set-url origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@178.104.200.7/kjh2064/QuantEngineByItz.git - else - git init - git remote add origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@178.104.200.7/kjh2064/QuantEngineByItz.git - fi - git fetch origin main --depth=1 - git reset --hard FETCH_HEAD + uses: actions/checkout@v3 - name: Setup .NET SDK uses: actions/setup-dotnet@v3