mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-03-06 09:20:34 +08:00
自定义推送
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
ebbb1615a0
commit
46430ccbf2
23
.github/workflows/push_appstore_to_released.yml
vendored
Normal file
23
.github/workflows/push_appstore_to_released.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Push appstore to released
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 */3 * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push-branch:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: appstore
|
||||||
|
|
||||||
|
- 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 appstore:released --force
|
Loading…
x
Reference in New Issue
Block a user