ci: checkout correct branch before deploy
Déploiement FRONT BETA / check (push) Successful in 2m2s
Vérification PR / check (pull_request) Successful in 2m16s
Déploiement FRONT BETA / deploy (push) Successful in 43s
Vérification PR / deploy-beta (pull_request) Successful in 22s

This commit is contained in:
2026-06-26 07:14:44 +04:00
parent cd24d90b67
commit aa3032d25e
+2 -1
View File
@@ -36,7 +36,8 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd ${{ secrets.FRONT_DEPLOY_PATH }}
git pull --ff-only origin ${{ gitea.ref_name }}
git fetch origin
git checkout -B ${{ gitea.ref_name }} origin/${{ gitea.ref_name }}
corepack enable
yarn install --frozen-lockfile
yarn build