ProxmoxVED/.github/workflows/push-to-gitea.yml

28 lines
649 B
YAML

name: "Gitea Mirror Setup"
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: varunsridharan/action-gitea-mirror@main
name: " ⏳ Setting Up Mirror"
with:
gh_username: ${{ secrets.GH_USERNAME }}
gh_accesstoken: ${{ secrets.PAT_AUTOMERGE }}
gitea_host: ${{ secrets.GITEA_HOST }}
gitea_username: ${{ secrets.GITEA_USERNAME }}
gitea_accesstoken: ${{ secrets.GITEA_TOKEN }}
repositoryStared: true
repositorySource: true
repositoryForked: true