mirror of
https://github.com/dewomser/Wettervorhersage.git
synced 2026-03-10 22:44:45 +01:00
Add artifact upload for wetter.csv in workflow
Added an upload artifact step for wetter.csv in the workflow.
This commit is contained in:
parent
63c725ca18
commit
e5935cd745
1 changed files with 9 additions and 2 deletions
9
.github/workflows/wettrgrafik.yml
vendored
9
.github/workflows/wettrgrafik.yml
vendored
|
|
@ -17,6 +17,13 @@ jobs:
|
|||
run: pipx install wetterdienst==0.94.0
|
||||
- name: bash script ausführen
|
||||
run: bash wetter10.sh # Bash-Skript ausführen, das die Wetterdaten abruft und eine Datei namens wetter.dat erzeugt
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v5.0.0
|
||||
with: wetter.csv # Artifact name
|
||||
name: # optional, default is artifact
|
||||
# A file, directory or wildcard pattern that describes what to upload
|
||||
path: /
|
||||
# The desired behavior if no files are found using the provided path.
|
||||
|
||||
- name: Grafik in README.md einfügen
|
||||
run: | # Mehrzeiliges Kommando
|
||||
|
|
@ -27,7 +34,7 @@ jobs:
|
|||
# Die Änderungen committen und pushen
|
||||
git config --global user.name "dewomser"
|
||||
git config --global user.email "webmaster@untergang.de"
|
||||
git add README.md wetter2.png wetter.csv
|
||||
git add README.md wetter2.png
|
||||
git commit -m "Wettervorhersage aktualisiert"
|
||||
git pull
|
||||
git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue