# Controls when the action will run.
# The type of runner that the job will run on
# Load repo and install R
- uses: actions/checkout@master
- uses: r-lib/actions/setup-r@master
R -e 'install.packages("tidyverse")'
R -e 'install.packages("rvest")'
run: Rscript sitemap_scraping.R
# Add new files in data folder, commit along with other modified files, push
git config --local user.name actions-user
git commit -am "GH ACTION Headlines $(date)"
REPO_KEY: ${{secrets.GITHUB_TOKEN}}