File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments