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