-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 948 Bytes
/
schatzsuche.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Generate and Deploy Folium Map
on:
push:
branches:
- main # Setzen Sie dies auf den Namen des Branches, auf dem Sie arbeiten
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: pip install folium branca shapely geopandas
- name: Generate Map
env:
BREITENGRAD_PATTERN: "50._7964"
LAENGENGRAD_PATTERN: "__.4_283"
run: python coordinates.py # oder wie auch immer Ihr Skript heißt
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ # Der Ordner, in dem Ihre generierte HTML-Datei gespeichert ist