Skip to content

Commit

Permalink
184 test (#227)
Browse files Browse the repository at this point in the history
* test

* test update

* test update

* test

* update

* fix indentation?
  • Loading branch information
manciniedoardo authored Sep 12, 2024
1 parent c5542c0 commit c0287b5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/update_post_dates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
runs-on: ubuntu-latest
container:
image: "rocker/tidyverse:4.2.1"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: cicd_testing2 # replace with the branch you want to checkout
- name: Run update_post_dates
run: source("R/update_post_dates.R")
shell: Rscript {0}
- name: Commit results
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: cicd_testing2 # replace with the branch you want to checkout
- name: Run update_post_dates
run: source("R/update_post_dates.R")
shell: Rscript {0}
- name: Commit results
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Run R script and commit results"
git push origin your-branch-name # replace with the branch you want to push to
git push origin cicd_testing2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c0287b5

Please sign in to comment.