From 11b94dcb087a7754cea773c69f99df66709ba9d6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 4 May 2021 11:10:21 +0100 Subject: [PATCH] Replace deploy step with webdav --- .github/workflows/deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3d19c27..1b153a4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}