Fix wrong env naming for unit test

This commit is contained in:
2024-10-17 10:50:44 +02:00
parent b8ab12d31b
commit 75bc71d2fb
4 changed files with 54 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ on:
jobs:
build-test:
runs-on: ubuntu-latest
environment: production
environment: recette
steps:
- name: Checkout code
@@ -44,4 +44,15 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: cypress-screenshots
path: cypress/screenshots
path: cypress/screenshots
- name: Copy build directory to server
uses: Dylan700/sftp-upload-action@v1.2.3
with:
server: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
uploads: |
./dist => /webroot/
dry-run: true