mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Github actions add workflow_dispatch
This commit is contained in:
parent
f8c76aeba7
commit
ac7689bcfe
8
.github/workflows/actions.yml
vendored
8
.github/workflows/actions.yml
vendored
|
@ -1,6 +1,7 @@
|
||||||
name: Execute Python Scripts on New Theme-YML Files
|
name: Execute Python Scripts on New Theme-YML Files
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'theme-yml/*'
|
- 'theme-yml/*'
|
||||||
|
@ -18,6 +19,11 @@ jobs:
|
||||||
apt -qq update
|
apt -qq update
|
||||||
echo 🏅
|
echo 🏅
|
||||||
|
|
||||||
|
- name: Install git
|
||||||
|
run: |
|
||||||
|
apt install git -y > /dev/null 2>&1
|
||||||
|
echo 🏅
|
||||||
|
|
||||||
- name: Install python3
|
- name: Install python3
|
||||||
run: |
|
run: |
|
||||||
apt install python3 -y > /dev/null 2>&1
|
apt install python3 -y > /dev/null 2>&1
|
||||||
|
@ -48,5 +54,5 @@ jobs:
|
||||||
git config user.name github-actions[bot]
|
git config user.name github-actions[bot]
|
||||||
git config user.email github-actions[bot]@github.com
|
git config user.email github-actions[bot]@github.com
|
||||||
git add .
|
git add .
|
||||||
git commit -m "------- Generate Themes Github Action -------"
|
git commit -m "------- Generate Themes -------"
|
||||||
git push
|
git push
|
Loading…
Reference in New Issue
Block a user