mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
32 lines
755 B
YAML
32 lines
755 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: Preparing data to push
|
|
run: automation_tools/flathub_push_main.sh
|
|
env:
|
|
GIT_NAME: ${{ secrets.GITNAME }}
|
|
GIT_MAIL: ${{ secrets.GITMAIL }}
|
|
|
|
- name: Commit and push changes
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
branch: "${{ env.RELNAME }}"
|
|
directory: "${{ env.FOLDER_TO_PUSH }}"
|
|
repository: "${{ env.TARGET_REPO }}"
|
|
tags: "v${{ env.RELNAME }} --force"
|
|
force: true |