Replace deploy step with webdav
This commit is contained in:
parent
249a12bb50
commit
11b94dcb08
1 changed files with 7 additions and 7 deletions
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
|
@ -43,12 +43,12 @@ jobs:
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: ./scripts/release.sh
|
run: ./scripts/release.sh
|
||||||
|
|
||||||
- uses: jakejarvis/s3-sync-action@master
|
- name: rclone
|
||||||
|
uses: wei/rclone@master
|
||||||
with:
|
with:
|
||||||
args: --follow-symlinks --delete
|
args: sync public/ pages:theorangeone.net/
|
||||||
env:
|
env:
|
||||||
AWS_S3_BUCKET: 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
|
|
||||||
|
|
Loading…
Reference in a new issue