Skip to content

Commit

Permalink
Merge pull request #54 from pj8/github-backup
Browse files Browse the repository at this point in the history
レポジトリバックアップ用のgithub actionsのyamlの作成
  • Loading branch information
momospnr authored Aug 20, 2024
2 parents 83a1b0e + 7b0cc8a commit 81594dc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/github-backup-repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Github Backup Repository

on:
# 設置時に起動時刻を設定してください
schedule:
- cron: '0 15 * * *' # 毎日日本時間0時に実行
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
call-reusable-workflow:
uses: pj8/.github/.github/workflows/github-backup-repository.yml@main
secrets:
AWS_3RD_ROLE_ARN: ${{ secrets.AWS_3RD_ROLE_ARN }}
AWS_REGION: ${{ secrets.AWS_REGION }}
BACKUP_BUCKET_NAME: ${{ secrets.BACKUP_BUCKET_NAME }}

0 comments on commit 81594dc

Please sign in to comment.