mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
34 lines
919 B
YAML
34 lines
919 B
YAML
|
|
name: "Push main on Flathub"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
Pushing_main_into_flathub:
|
|
runs-on:
|
|
- ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout RetroDECK repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Pushing main to Flathub
|
|
run: automation_tools/flathub_push_main.sh
|
|
env:
|
|
GIT_NAME: ${{ secrets.GITNAME }}
|
|
GIT_MAIL: ${{ secrets.GITMAIL }}
|
|
|
|
- name: Commit and push changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "Updated flathub/net.retrodeck.retrodeck to v${{ env.RELNAME }} from RetroDECK/${{ env.RD_BRANCH }}"
|
|
branch: "${{ env.RD_BRANCH }}"
|
|
repository: "${{ secrets.GITHUB_REPOSITORY }}"
|
|
push_options: '--force'
|
|
commit_user_email: ${{ secrets.GITMAIL }}
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|