[FEATURE] S3 Fix
This commit is contained in:
parent
26eff76d90
commit
7b513727bb
1 changed files with 3 additions and 1 deletions
|
@ -23,10 +23,12 @@ runs:
|
|||
infisical-token: ${{ inputs.infisical-token }}
|
||||
secret-envs: edge
|
||||
secret-paths: /devops/gitea-backups
|
||||
- name: Fix Endpoint Format
|
||||
run: echo BACKUP_S3_ENDPOINT=${{ env.DEVOPS_GITEA_ELYSIUM_ORG_S3_ENDPOINT }} >> $GITHUB_ENV
|
||||
- name: S3 Backup
|
||||
uses: peter-evans/s3-backup@v1
|
||||
env:
|
||||
STORAGE_SERVICE_URL: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_S3_ENDPOINT }}
|
||||
STORAGE_SERVICE_URL: ${{ env.BACKUP_S3_ENDPOINT }}
|
||||
ACCESS_KEY_ID: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_S3_KEY_ID }}
|
||||
SECRET_ACCESS_KEY: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_S3_KEY }}
|
||||
MIRROR_TARGET: ${{ inputs.s3-backup-path }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue