e52f9cba0d
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
578 B
YAML
30 lines
578 B
YAML
name: 'Sync'
|
|
|
|
on:
|
|
push:
|
|
delete:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
|
|
jobs:
|
|
gitee:
|
|
name: Sync to Gitee
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
-
|
|
name: Sync
|
|
uses: ttionya/Repository-Sync-Hub@v1
|
|
with:
|
|
target_repository: 'https://gitee.com/ttionya/vaultwarden-backup.git'
|
|
http_access_name: 'ttionya'
|
|
http_access_token: ${{ secrets.GITEE_HTTP_ACCESS_TOKEN }}
|