-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f465c84
commit c44da75
Showing
5 changed files
with
33 additions
and
148 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^dockerR\.Rproj$ | ||
^.github$ |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy to RStudio Connect | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rocker/verse:latest | ||
|
||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: install2.r --error pak | ||
|
||
- name: Install fusen | ||
run: | | ||
pak::pak("fusen") | ||
fusen::inflate(flat_file = "dev/flat_first.Rmd",check = FALSE,open_vignette = FALSE,document = TRUE,overwrite = "yes") | ||
shell: Rscript {0} | ||
|
||
- name: Push results | ||
run: | | ||
git add --all * | ||
git commit -m "inflate Update" | ||
git push -q https://${{secrets.GH_TOKEN}}@github.com/${{secrets.GH_REPOSITORY}}.git HEAD:master |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.