✨ do some tricks
This commit is contained in:
parent
9eab6c2909
commit
f2959be7f9
@ -8,9 +8,10 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@v1
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- run: npm ci
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
- name: Upload production-ready build files
|
||||
@ -34,7 +35,7 @@ jobs:
|
||||
run: ls -l ./dist
|
||||
# On installe Rsync
|
||||
- name: Install Rsync
|
||||
run: apt-get install rsync -y
|
||||
run: apt-get update && apt-get install rsync -y
|
||||
# On ajoute la clé SSH
|
||||
- name: Add SSH 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