ajout workflow deploiement donnees test
davvalent

davvalent commited on 2022-11-06 23:30:10
Showing 1 changed files, with 21 additions and 0 deletions.

... ...
@@ -0,0 +1,21 @@
1
+name: push-geojson
2
+on:
3
+  push:
4
+    branches:
5
+      - dev
6
+jobs:
7
+  push-geojson-online:
8
+    runs-on: ubuntu-latest
9
+    steps:
10
+    - uses: actions/checkout@v2
11
+      with:
12
+        fetch-depth: '0'
13
+        ref: 'dev'
14
+    - name: Install SSH Key
15
+      uses: shimataro/ssh-key-action@v2
16
+      with:
17
+        key: ${{ secrets.SSH_PRIVATE_KEY }}
18
+        known_hosts: ${{ secrets.SSH_HOST }}
19
+    - name: Push remote
20
+      run: |
21
+        cd && scp -P 27 -i /home/runner/.ssh/id_rsa /home/runner/work/faubourg-demo/faubourg-demo/buildings.json ${{ secrets.SSH_TARGET }}:/home/ntnlvca/public_html/faubourg
0 22
\ No newline at end of file
1 23