[CHORE] Adjust Forgejo Actions
All checks were successful
S3 Repo Backup / s3-repo-backup (push) Successful in 19s
Deploy USW-MC / deploy-edge (push) Successful in 2m21s

This commit is contained in:
Dunemask 2024-08-25 16:46:21 -06:00
parent 27b11fcd50
commit c4882cb22f

View file

@ -1,31 +1,17 @@
# name: S3 Repo Backup name: S3 Repo Backup
# run-name: ${{ gitea.actor }} S3 Repo Backup run-name: ${{ forgejo.actor }} S3 Repo Backup
# on: on:
# push: push:
# branches: [ master ] branches: [ master ]
# env: jobs:
# S3_BACKUP_ENDPOINT: https://s3.dunemask.dev s3-repo-backup:
# S3_BACKUP_KEY_ID: gitea-repo-backup steps:
# S3_BACKUP_KEY: ${{ secrets.S3_REPO_BACKUP_KEY }} - name: S3 Backup
# REPO_DIR: ${{ gitea.workspace }}/${{ gitea.respository }} uses: https://forgejo.dunemask.dev/elysium/elysium-actions@s3-backup
# jobs: with:
# s3-repo-backup: infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
# steps: infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
# - name: Checkout repository - name: Status Alert
# uses: actions/checkout@v3 if: always()
# with: run: echo "The Job ended with status ${{ job.status }}."
# 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 }}."