2022-08-16 18:56:28 +02:00
|
|
|
name: 👉 Template to Readme
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-02-15 01:46:12 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-08-16 18:56:28 +02:00
|
|
|
|
|
|
|
- name: Setup Python
|
2023-02-15 01:46:12 +01:00
|
|
|
uses: actions/setup-python@v4
|
2022-08-16 18:56:28 +02:00
|
|
|
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
|