appstore-1panel/.github/workflows/push_custom_to_released.yml
Meng Sen 1cf83ec7ed 修复频率
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2025-01-06 11:18:36 +08:00

24 lines
637 B
YAML

name: Push custom to released
on:
workflow_dispatch:
schedule:
- cron: '2 * * * *'
jobs:
push-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: custom
- name: Push to released branch
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ secrets.GITHUBTOKEN }}@github.com/${{ github.repository }}.git
git push origin custom:released --force