Skip to content

Commit

Permalink
Disable update-podcasts CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasverus authored Apr 9, 2024
1 parent 0bee6f2 commit 6cc6ce3
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/update-podcasts.yml
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 "[email protected]"
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 "[email protected]"
# 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"

0 comments on commit 6cc6ce3

Please sign in to comment.