add new action #3
Workflow file for this run
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: refresh map | |
on: | |
push | |
jobs: | |
getdataandrefreshmap: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v3 # checkout the repository content to github runner. | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 #install the python needed | |
- name: Install dependencies | |
run: | | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: execute py script | |
run: | | |
python beacon/api_version.py | |
git add . | |
git commit -m "api version pushgenerated" | |
git push |