Skip to content

Commit 1a1d9e4

Browse files
committed
update create readme.yml
1 parent ef7da10 commit 1a1d9e4

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/readme.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: 'Create README.md file'
2+
on:
3+
push
4+
5+
jobs:
6+
readme-create:
7+
name: 'readme-create'
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: 'Checkout'
11+
uses: actions/checkout@master
12+
13+
- name: Set up Python 3.7.
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: '3.x'
17+
18+
- name: 'Install test dependencies.'
19+
run: pip install pre-commit yamllint
20+
21+
- name: Run yamllint.
22+
run: yamllint ./README.yaml
23+
24+
- name: clone Genie repo
25+
run: |
26+
export GITHUB_ACCESS_TOKEN=${{ secrets.GITHUB }}
27+
cd .. && cd .. && cd ..
28+
git clone https://${{ secrets.GITHUB }}@github.com/clouddrove/genie.git
29+
cd /home/runner/work/ajay-testing/ajay-testing
30+
make packages/install/gomplate
31+
make readme
32+
- name: Run pre-commit
33+
run: pre-commit run -a && pre-commit install
34+
35+
- name: push to repo back
36+
run: |
37+
git config --global user.email "anmol@clouddrove.com"
38+
git config --global user.name "Anmol nagpal"
39+
git add . && git commit -m "upload"
40+
git push origin master

0 commit comments

Comments
 (0)