mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-03 09:37:58 +08:00
22 lines
607 B
YAML
22 lines
607 B
YAML
|
name: Push appstore to released
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
|
||
|
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
|