1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 23:45:58 +00:00

Replace deployment with webdav

This commit is contained in:
Jake Howard 2021-05-04 11:39:38 +01:00 committed by GitHub
parent e4774536a7
commit 5e542d54b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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