Compare commits
2 Commits
7fea170597
...
58fd049d03
| Author | SHA1 | Date | |
|---|---|---|---|
|
58fd049d03
|
|||
|
0a0772eea3
|
@@ -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,8 @@ 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 fetch origin
|
||||
git checkout -B ${{ gitea.ref_name }} origin/${{ gitea.ref_name }}
|
||||
corepack enable
|
||||
yarn install --frozen-lockfile
|
||||
NODE_ENV=production yarn build
|
||||
|
||||
Reference in New Issue
Block a user