Skip to content

Commit 5c3bdc4

Browse files
committed
Deploy the spec on push.
1 parent bff97b3 commit 5c3bdc4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/spec.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,18 @@ jobs:
3838
- name: Build the specification
3939
run: |
4040
bundle exec jekyll build
41+
42+
# Deploy
43+
- name: Deployment
44+
env:
45+
USER_FOR_TEST: ${{ secrets.SPEC_DEPLOY_USER }}
46+
if: ${{ env.USER_FOR_TEST != '' }}
47+
uses: burnett01/[email protected]
48+
with:
49+
switches: -rzv
50+
path: docs/_spec/_site/
51+
remote_path: ${{ secrets.SPEC_DEPLOY_PATH }}
52+
remote_host: ${{ secrets.SPEC_DEPLOY_HOST }}
53+
remote_user: ${{ secrets.SPEC_DEPLOY_USER }}
54+
remote_key: ${{ secrets.SPEC_DEPLOY_KEY }}
55+
remote_key_pass: ${{ secrets.SPEC_DEPLOY_PASS }}

0 commit comments

Comments
 (0)