We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f25b843 commit 5200da1Copy full SHA for 5200da1
.github/workflows/deploy.yml
@@ -0,0 +1,25 @@
1
+# Workflow to deploy to website
2
+
3
+name: Deploy
4
5
+on:
6
+ push:
7
+ branches:
8
+ - master
9
10
+jobs:
11
+ deploy:
12
+ name: Push documentation to website
13
+ if: github.repository == 'flintlib/flintwebpage'
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: "Setup SSH key"
17
+ uses: shimataro/ssh-key-action@v2.7.0
18
+ with:
19
+ key: ${{ secrets.SSH_KEY }}
20
+ name: id_ed25519
21
+ known_hosts: ${{ secrets.KNOWN_HOSTS }}
22
23
+ - name: "Deploy"
24
+ run: |
25
+ ssh -t wbhart@opal6.opalstack.com 'cd ~/flintwebpage && git checkout master && git pull && python3 downloads.py ~/apps/flintlib_org && python3 build.py ~/apps/flintlib_org && cp -r img/ ~/apps/flintlib_org'
0 commit comments