1
Fork 0

Replace deploy step with webdav

This commit is contained in:
Jake Howard 2021-05-04 11:10:21 +01:00
parent 249a12bb50
commit 11b94dcb08
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -43,12 +43,12 @@ jobs:
- name: Build site
run: ./scripts/release.sh
- uses: jakejarvis/s3-sync-action@master
- name: rclone
uses: wei/rclone@master
with:
args: --follow-symlinks --delete
args: sync public/ pages:theorangeone.net/
env:
AWS_S3_BUCKET: theorangeone.net
AWS_ACCESS_KEY_ID: github
AWS_SECRET_ACCESS_KEY: ${{ secrets.MINIO_SECRET_KEY }}
SOURCE_DIR: public
AWS_S3_ENDPOINT: https://pages.theorangeone.net
RCLONE_CONFIG_PAGES_TYPE: webdav
RCLONE_CONFIG_PAGES_URL: https://pages.theorangeone.net
RCLONE_CONFIG_PAGES_USER: github
RCLONE_CONFIG_PAGES_PASS: ${{ secrets.RCLONE_WEBDAV_PASSWORD }}