Add Rclone
Some checks failed
Deploy Hugo / deploy (push) Failing after 14s

This commit is contained in:
Jens M. Sauer 2024-06-17 22:08:36 +02:00
parent bbdcbc40a7
commit 00d4e3b69c

View File

@ -21,5 +21,20 @@ jobs:
with:
extended: true
- name: Get package list
run: apt-get update
- name: Install rclone
run: apt-get -y install rclone
- name: Decode rclone config
env:
CONFIG: ${{ secrets.RCLONE_CONFIG }}
run: |
echo $RCLONE_CONFIG | base64 --decode > rclone.conf
- name: Build
run: hugo --minify --environment development
- name: Deploy
run: rclone --config rclone.conf copy public/ remote:staging