-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 25abril-mulheres-cronologia.yml
- Loading branch information
1 parent
cb5e516
commit 0d9d4a6
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Cronologia mulheres 25 abril | ||
|
||
on: | ||
workflow_dispatch: | ||
#schedule: | ||
# - cron: '0 4 1 * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Convert google sheet to csv | ||
run: |- | ||
wget -O mulheres25abril/cronologia.csv --no-check-certificate "https://docs.google.com/spreadsheets/d/e/2PACX-1vQ3WwA_73awrFMkrPw7w_JwCeDPHikxop7wKPsRBW2KUW-0vu3zKSCCQo1ed1G8Cw/pub?output=csv" | ||
- name: Commit and push changes | ||
run: |- | ||
git diff | ||
git config user.name "Automated" | ||
git config user.email "---" | ||
git diff --quiet || (git add -A && git commit -m "Updated cronologia mulheres 25 abril") | ||
git push |