Skip to content

Commit

Permalink
Update patoloji-hakkinda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalci authored May 1, 2023
1 parent 7aeba49 commit 9a7f94e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/patoloji-hakkinda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,24 @@ jobs:
filestorender <- list.files(path = '.', pattern = '.md', full.names = TRUE, recursive = TRUE)
render_file <- purrr::safely(function(file) {rmarkdown::render(file, encoding = 'UTF-8', output_dir = './patoloji-hakkinda/')})
purrr::map(.x = filestorender, .f= render_file)
- name: Commit results to main branch
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "CI added changes `date +'%Y-%m-%d %H:%M:%S'`" || echo "No changes to commit"
git push origin || echo "No changes to commit"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
branch: main
github_token: ${{ secrets.API_TOKEN_GITHUB }}
# WORKFLOW_GITHUB_TOKEN
force: true


patoloji-hakkinda:
needs: render
Expand Down

0 comments on commit 9a7f94e

Please sign in to comment.