✨ do some tricks
This commit is contained in:
parent
9eab6c2909
commit
f2959be7f9
@ -8,9 +8,10 @@ jobs:
|
|||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
- name: Install dependencies
|
with:
|
||||||
uses: bahmutov/npm-install@v1
|
node-version: '20'
|
||||||
|
- run: npm ci
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
- name: Upload production-ready build files
|
- name: Upload production-ready build files
|
||||||
@ -34,7 +35,7 @@ jobs:
|
|||||||
run: ls -l ./dist
|
run: ls -l ./dist
|
||||||
# On installe Rsync
|
# On installe Rsync
|
||||||
- name: Install Rsync
|
- name: Install Rsync
|
||||||
run: apt-get install rsync -y
|
run: apt-get update && apt-get install rsync -y
|
||||||
# On ajoute la clé SSH
|
# On ajoute la clé SSH
|
||||||
- name: Add SSH key
|
- name: Add SSH key
|
||||||
run: echo "$DEPLOY_KEY" > $HOME/.ssh/test_private_key && chmod 600 $HOME/.ssh/test_private_key
|
run: echo "$DEPLOY_KEY" > $HOME/.ssh/test_private_key && chmod 600 $HOME/.ssh/test_private_key
|
||||||
|
Loading…
Reference in New Issue
Block a user