[CHORE] Adjust Actions For Deployment
All checks were successful
Deploy USW-MC / deploy-edge (push) Successful in 2m3s

This commit is contained in:
Dunemask 2024-08-25 10:56:04 -06:00
parent 8c7e41b21b
commit 6e9c71568d
8 changed files with 148 additions and 147 deletions

View file

@ -0,0 +1,31 @@
# name: S3 Repo Backup
# run-name: ${{ gitea.actor }} S3 Repo Backup
# on:
# push:
# branches: [ master ]
# env:
# S3_BACKUP_ENDPOINT: https://s3.dunemask.dev
# S3_BACKUP_KEY_ID: gitea-repo-backup
# S3_BACKUP_KEY: ${{ secrets.S3_REPO_BACKUP_KEY }}
# REPO_DIR: ${{ gitea.workspace }}/${{ gitea.respository }}
# jobs:
# s3-repo-backup:
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# with:
# path: ${{ env.REPO_DIR }}
# - name: S3 Backup
# uses: peter-evans/s3-backup@v1
# env:
# ACCESS_KEY_ID: ${{ env.S3_BACKUP_KEY_ID }}
# SECRET_ACCESS_KEY: ${{ env.S3_BACKUP_KEY }}
# MIRROR_SOURCE: ${{ env.REPO_DIR }}
# MIRROR_TARGET: backups/gitea-repositories/${{ gitea.repository }}
# STORAGE_SERVICE_URL: ${{env.S3_BACKUP_ENDPOINT}}
# with:
# args: --overwrite --remove
# - name: Status Alert
# if: always()
# run: echo "The Job ended with status ${{ job.status }}."