Complete Pipeline #600
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: Complete Pipeline | |
on: | |
schedule: | |
- cron: '0 20 * * 1-5' | |
push: | |
branches: | |
- master | |
jobs: | |
build-test-deploy: | |
name: Build Test and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Build 🔨 | |
run: | | |
pip install -r requirements.txt | |
python3 ChargingStations2GeoJson.py -o results/charging_stations_latest.geojson | |
#- name: Test | |
#TODO: Only run when code changed | |
# run: python3 tests/TestConversion.py | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: results |