do some tricks
Some checks failed
roulette / build (push) Successful in 38s
roulette / Deploy (push) Failing after 18s

This commit is contained in:
Melaine Gérard 2024-09-16 14:16:04 +02:00
parent 9eab6c2909
commit f2959be7f9
No known key found for this signature in database
GPG Key ID: 89A9588EB2726A53

View File

@ -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