From c0287b5f72f2d4c9274757e0b5f11cd675c01bb3 Mon Sep 17 00:00:00 2001 From: Edoardo Mancini <53403957+manciniedoardo@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:27:14 +0000 Subject: [PATCH] 184 test (#227) * test * test update * test update * test * update * fix indentation? --- .github/workflows/update_post_dates.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update_post_dates.yml b/.github/workflows/update_post_dates.yml index 9c23a309..c1075b1b 100644 --- a/.github/workflows/update_post_dates.yml +++ b/.github/workflows/update_post_dates.yml @@ -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 }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}