Update converter_action.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Sidebar | |
on: | |
push: | |
branches: | |
- main | |
#paths: | |
#- 'master_table/' | |
jobs: | |
update_sidebar: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install pandas | |
run: pip install pandas | |
- name: Install tabulate | |
run: pip install tabulate | |
- name: Install plotly | |
run: pip install plotly | |
- name: Install openpyxl | |
run: pip install openpyxl | |
- name: Install kaleido | |
run: pip install kaleido | |
- name: Run Automation Script | |
env: | |
GITHUB_TOKEN: ${{ secrets.automated_md_converter_token }} | |
run: python convert.py | |
- name: Commit and Push Changes | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "AleSteB" | |
git config --global url.https://${{ secrets.automated_md_converter_token}}@github.com/.insteadOf https://github.com/ | |
git add . | |
git commit -m "Automated update of ontology metadata" | |
git push | |