mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2024-11-22 03:13:28 +01:00
👷♂️ Adds CI
This commit is contained in:
parent
72c5cfdbfb
commit
e596185f14
1 changed files with 32 additions and 0 deletions
32
.github/workflows/_template_to_readme.yml
vendored
Normal file
32
.github/workflows/_template_to_readme.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: 👉 Template to Readme
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: "3.9"
|
||||
architecture: "x64"
|
||||
|
||||
- name: Template to Readme
|
||||
run: |-
|
||||
python _ci.py
|
||||
cat README.md
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.org"
|
||||
git config --global user.name "Template to Readme"
|
||||
git add -A
|
||||
git commit -m "👉 Converts _template to readme" || exit 0
|
||||
git push
|
Loading…
Reference in a new issue