Skip to content

Commit cb7ba03

Browse files
committed
enable rsync deployment
(fingers crossed)
1 parent 081e960 commit cb7ba03

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: deploy_language_referemce
1+
name: deploy_language_reference
22

33
on:
44
push:
@@ -8,7 +8,6 @@ on:
88
- ".github/workflows/deploy_language_reference.yml"
99
- "make_ver/**"
1010
- "language_reference/**"
11-
- "static/language_reference.html"
1211

1312
jobs:
1413
deploy:
@@ -22,13 +21,13 @@ jobs:
2221
- name: build_static
2322
run: make build_language_reference_docker
2423

25-
# - name: rsync deployments
26-
# uses: burnett01/rsync-deployments@v8
27-
# with:
28-
# switches: -avzr --delete
29-
# path: api/
30-
# remote_path: ${{ secrets.REMOTE_PATH }} # ex: /var/www/html/
31-
# remote_host: ${{ secrets.REMOTE_HOST }} # ex: example.com
32-
# remote_port: ${{ secrets.REMOTE_PORT }} # ex: 22
33-
# remote_user: ${{ secrets.REMOTE_USER }} # ex: ubuntu
34-
# remote_key: ${{ secrets.REMOTE_PRIVATE_KEY }}
24+
- name: rsync deployments
25+
uses: burnett01/rsync-deployments@v8
26+
with:
27+
switches: -avzr
28+
path: api/
29+
remote_path: ${{ secrets.REMOTE_PATH }}/api/ # ex: /var/www/html/
30+
remote_host: ${{ secrets.REMOTE_HOST }} # ex: example.com
31+
remote_port: ${{ secrets.REMOTE_PORT }} # ex: 22
32+
remote_user: ${{ secrets.REMOTE_USER }} # ex: ubuntu
33+
remote_key: ${{ secrets.REMOTE_PRIVATE_KEY }}

0 commit comments

Comments
 (0)