Skip to content

Commit 9cd4727

Browse files
committed
Updated workspace generation workflow
1 parent 0ff36a2 commit 9cd4727

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/generate-workspace.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ jobs:
4545
"Infant",
4646
"SleepDeprivation"
4747
)
48-
save(list = iscamdata, file = "inst/extdata/ISCAM.RData")
48+
save(list = iscamdata, file = "docs/ISCAM.RData")
4949
shell: Rscript {0}
5050

51-
- name: Upload RData artifact
52-
uses: actions/upload-artifact@v4
53-
with:
54-
name: iscam-workspace
55-
path: inst/extdata/ISCAM.RData
51+
- name: Deploy site
52+
run: |
53+
git config --global user.name "${{ github.actor }}"
54+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
55+
git add docs
56+
git commit -m "Build and deploy pkgdown site [ci skip]" || exit 0
57+
git push

0 commit comments

Comments
 (0)