Skip to content

Commit d259d07

Browse files
committed
added deployment to the comparch server
1 parent c2936ea commit d259d07

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
uses: actions/upload-pages-artifact@v3
4747
with:
4848
path: pages
49+
- name: Create ZIP for Comparch deployment
50+
run: |
51+
cd docs/user/book
52+
zip -r ../../../manual.zip .
53+
- name: Deploy to Comparch
54+
run: |
55+
curl -X POST -H "Authorization: Bearer ${{ secrets.COMPARCH_DOCS_TOKEN }}" -F "[email protected]" http://eval.comparch.edu.cvut.cz:1111/github-actions/update-manual
4956
5057
deploy:
5158
environment:

0 commit comments

Comments
 (0)