We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d308b commit aca7e8fCopy full SHA for aca7e8f
.github/workflows/hugo.yml
@@ -30,11 +30,8 @@ jobs:
30
run: npm install && npm run build
31
- name: Build with Hugo
32
run: hugo
33
- - name: Push to server
34
- env:
35
- RCLONE_CONFIG_COMPARCH_TYPE: ftp
36
- RCLONE_CONFIG_COMPARCH_HOST: comparch.edu.cvut.cz
37
- RCLONE_CONFIG_COMPARCH_USER: comparch_github
38
- RCLONE_CONFIG_COMPARCH_PASS: ${{ secrets.FtpPass }}
+ - name: Create ZIP Archive
+ run: zip -r site.zip public/
+ - name: Send ZIP to Web for deployment
39
run: |
40
- rclone sync --exclude=stats/ public/ comparch:web/
+ curl -X POST -H "Authorization: Bearer ${{ secrets.FtpPass }}" -F "file=@site.zip" http://eval.comparch.edu.cvut.cz:1111/github-actions/update-web
0 commit comments