💄 on vérifie la dispo des fichiers
This commit is contained in:
parent
fc0ba0c824
commit
275b17b117
@ -2,7 +2,7 @@ name: roulette
|
|||||||
on: ['push']
|
on: ['push']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@ -18,3 +18,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: production-files
|
name: production-files
|
||||||
path: ./dist
|
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
|
Loading…
Reference in New Issue
Block a user