10
.github/workflows/process-apps.yml
vendored
10
.github/workflows/process-apps.yml
vendored
@@ -3,10 +3,10 @@ name: Process Apps and Commit Changes
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- appstore
|
- custom
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- appstore
|
- custom
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git fetch origin appstore
|
git fetch origin custom
|
||||||
git rebase origin/appstore
|
git rebase origin/custom
|
||||||
git add appstore dockge || echo "No changes to add"
|
git add appstore dockge || echo "No changes to add"
|
||||||
git diff --cached --quiet && echo "No changes to commit" || git commit -m "Processed apps directory via GitHub Actions"
|
git diff --cached --quiet && echo "No changes to commit" || git commit -m "Processed apps directory via GitHub Actions"
|
||||||
git push origin appstore
|
git push origin custom
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ name: Push appstore to released
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
|
||||||
- cron: '0 0 */3 * *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push-branch:
|
push-branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user