-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
24 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 |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: Update | ||
#name: Update | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '30 23 * * *' | ||
#on: | ||
# push: | ||
# branches: | ||
# - main | ||
# schedule: | ||
# - cron: '30 23 * * *' | ||
|
||
jobs: | ||
update: | ||
#jobs: | ||
# update: | ||
|
||
runs-on: macOS-latest | ||
# runs-on: macOS-latest | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
# env: | ||
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
# - uses: r-lib/actions/setup-r@v2 | ||
|
||
- name: Run program | ||
run: Rscript -e 'source("make.R")' | ||
# - name: Run program | ||
# run: Rscript -e 'source("make.R")' | ||
|
||
- name: Commit results | ||
run: | | ||
git config --local user.email "actions@github.com" | ||
git config --local user.name "GitHub Actions" | ||
git add -A | ||
git commit -m 'New podcasts' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
# - name: Commit results | ||
# run: | | ||
# git config --local user.email "actions@github.com" | ||
# git config --local user.name "GitHub Actions" | ||
# git add -A | ||
# git commit -m 'New podcasts' || echo "No changes to commit" | ||
# git push origin || echo "No changes to commit" |