@@ -113,7 +113,30 @@ jobs:
113
113
uses : actions/deploy-pages@v2
114
114
` ` `
115
115
116
- Deployment with this approach requires it to be enabled by:
116
+ > [!NOTE]
117
+ >
118
+ > We make an assumption when exporting the Shiny app about:
119
+ >
120
+ > 1. the app can be found in the working directory, e.g. ` .`
121
+ > 2. the deployment folder is `_site`
122
+ >
123
+ > If this is not the case, please modified the step in the deployment recipe
124
+ > that contains:
125
+ >
126
+ > ```r
127
+ > shinylive::export(".", "_site")
128
+ > ```
129
+ >
130
+
131
+ > [!NOTE]
132
+ >
133
+ > The output directory of `_site` for the converted shinylive app
134
+ > is used since it is the default path location for the
135
+ > [`upload-pages-artifact`](https://github.com/actions/upload-pages-artifact)
136
+ > action. This can be changed by supplying `path` parameter under `with` in the
137
+ > "Upload Pages artifact" step.
138
+
139
+ Deployment through the GitHub Actions to GitHub Pages requires it to be enabled on the repository by :
117
140
118
141
- Clicking on the repository's **Settings** page
119
142
- Selecting **Pages** on the left sidebar.
@@ -125,10 +148,9 @@ Deployment with this approach requires it to be enabled by:
125
148
126
149
# # Working Example
127
150
128
- For a comprehensive example demonstrating deployment, documentation, and a functional version of your app, refer to the following :
151
+ You can view the example shinylive-ified [ app.R](app.R) source included in the repository here :
129
152
130
- - Repository: https://github.com/coatless-tutorials/convert-shiny-app-r-shinylive
131
- - Deployed shiny app: https://tutorials.thecoatlessprofessor.com/convert-shiny-app-r-shinylive/
153
+ <https://tutorials.thecoatlessprofessor.com/convert-shiny-app-r-shinylive>
132
154
133
155
Some quick screenshots that describe whats up :
134
156
0 commit comments