diff --git a/.github/workflows/build_prod.yml b/.github/workflows/build_prod.yml index 9113fe2..f9bd7d0 100644 --- a/.github/workflows/build_prod.yml +++ b/.github/workflows/build_prod.yml @@ -32,10 +32,21 @@ jobs: key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} source: "dist/*" - target: "domains/alix.guillard.fr/public_html/velo/velotraces/" + target: "domains/alix.guillard.fr/public_html/velo/traces/" strip_components: 1 rm: true + - name: Copy php recursively to remote + uses: appleboy/scp-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.KEY }} + port: ${{ secrets.PORT }} + source: "public/datavelo" + target: "domains/alix.guillard.fr/public_html/data/velo" + strip_components: 2 + - name: Configure SSH run: | mkdir -p ~/.ssh/ diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 7340408..0328c40 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -47,6 +47,17 @@ jobs: strip_components: 1 rm: true + - name: Copy php recursively to remote + uses: appleboy/scp-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.KEY }} + port: ${{ secrets.PORT }} + source: "public/datavelo" + target: "domains/alix.guillard.fr/public_html/data/velo" + strip_components: 2 + - name: Configure SSH run: | mkdir -p ~/.ssh/ diff --git a/index.html b/index.html index ce75a05..ef17d9d 100644 --- a/index.html +++ b/index.html @@ -10,5 +10,24 @@
+ + + + +