Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
deploy from deploy-dir trying out maxheld83/ghactions#52
Browse files Browse the repository at this point in the history
  • Loading branch information
maxheld83 committed Mar 12, 2019
1 parent fc1bc46 commit f1dec39
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
workflow "Render and Deploy RMarkdown Website" {
on = "push"
resolves = [
"Render",
"Render",
"Deploy"
]
}
Expand All @@ -20,12 +20,12 @@ action "Render" {
]
uses = "maxheld83/ghactions/Rscript-byod@master"
args = [
"--verbose",
"-e '{'",
"-e ' deploy_dir <- rmarkdown::render_site(encoding = \"UTF-8\")'",
"-e ' deploy_dir <- fs::path_dir(deploy_dir)'",
"-e ' readr::write_lines(x = deploy_dir, path = \".deploy_dir\", '",
"-e ' append = FALSE)'",
"--verbose",
"-e '{'",
"-e ' deploy_dir <- rmarkdown::render_site(encoding = \"UTF-8\")'",
"-e ' deploy_dir <- fs::path_dir(deploy_dir)'",
"-e ' readr::write_lines(x = deploy_dir, path = \".deploy_dir\", '",
"-e ' append = FALSE)'",
"-e '}'"
]
}
Expand All @@ -46,7 +46,7 @@ action "Deploy" {
]
uses = "maxheld83/[email protected]"
args = [
"$(< .deploy_dir)/",
"$GITHUB_WORKSPACE/`(cat .deploy_dir)`/",
"[email protected]:/proj/websource/docs/FAU/fakultaet/phil/www.datascience.phil.fau.de/websource/qdelib"
]
env = {
Expand All @@ -55,7 +55,7 @@ action "Deploy" {
HOST_FINGERPRINT = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFHJVSekYKuF5pMKyHe1jS9mUkXMWoqNQe0TTs2sY1OQj379e6eqVSqGZe+9dKWzL5MRFpIiySRKgvxuHhaPQU4="
}
secrets = [
"SSH_PRIVATE_KEY",
"SSH_PRIVATE_KEY",
"SSH_PUBLIC_KEY"
]
}
Expand Down

0 comments on commit f1dec39

Please sign in to comment.