Update Image Data Name Service #34767
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
name: Update Image Data Name Service | |
on: | |
schedule: | |
- cron: '5 * * * *' | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v1 | |
- name: Cache R packages | |
uses: actions/cache@v2 | |
with: | |
path: ${{ env.R_LIBS_USER }} | |
key: ${{ runner.os }}-r-${{ matrix.config.r }}-3-${{ hashFiles('.github/depends.Rds') }} | |
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-3- | |
- name: Run Script | |
run: |- | |
Rscript -e "install.packages(c('renv','pacman'))" | |
Rscript -e 'renv::consent(provided = TRUE)' | |
Rscript -e "renv::restore()" | |
Rscript -e "source('data_name_service_activity.R')" | |
- name: Commit and push files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "ries9112" | |
git add . | |
git commit -m "Update GitHub readme" -a | |
git push https://ries9112:${{secrets.GITHUB_TOKEN}}@github.com/ries9112/NFTs-hicetnunc.git HEAD:master --force |