feat: rendre le dépôt configurable via variables d'env #2

Merged
cedric merged 7 commits from feat/improve-custom into master 2026-06-26 04:59:05 +00:00
Showing only changes of commit 0a0772eea3 - Show all commits
+3 -3
View File
@@ -2,8 +2,8 @@ name: Déploiement API BETA
run-name: ${{ gitea.actor }} déploie API BETA
on:
push:
branches:
- dev
branches-ignore:
- master
jobs:
build:
@@ -39,7 +39,7 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd ${{ secrets.DEPLOY_PATH }}
git pull --ff-only origin dev
git pull --ff-only origin ${{ gitea.ref_name }}
corepack enable
yarn install --frozen-lockfile
NODE_ENV=production yarn build