From 275b17b117e1a527bb42b890572b10fe3b68095a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Mon, 16 Sep 2024 13:31:50 +0200 Subject: [PATCH] =?UTF-8?q?:lipstick:=20on=20v=C3=A9rifie=20la=20dispo=20d?= =?UTF-8?q?es=20fichiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 055163f..fc1bbff 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,7 +2,7 @@ name: roulette on: ['push'] jobs: - deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout repo @@ -17,4 +17,18 @@ jobs: uses: actions/upload-artifact@v3 with: name: production-files - path: ./dist \ No newline at end of file + path: ./dist + + deploy: + name: Deploy + needs: build + runs-on: ubuntu-latest + steps: + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: production-files + path: ./dist + # On regarde si les fichiers sont là + - name: List files + run: ls -l ./dist \ No newline at end of file