Skip to content

Commit

Permalink
Try deploying everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Shotwell committed Jan 10, 2024
1 parent 240b838 commit 9ddbdd7
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
matrix: ${{fromJson(needs.prepare-matrix.outputs.matrix)}}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.9.13"
- name: Install rsconnect-python
Expand All @@ -41,7 +41,14 @@ jobs:
run: rsconnect add --account gallery --name gallery --token $TOKEN --secret $SECRET
- name: Deploy app to shinyapps
run: |
rsconnect deploy shiny ${{ matrix.folder }} \
--name gallery \
--entrypoint app-core.py \
-a ${{ matrix.guid }}
if [ -n "${{ matrix.guid }}" ]; then
rsconnect deploy shiny ${{ matrix.folder }} \
--name gallery \
--entrypoint app-core.py \
-a ${{ matrix.guid }}
else
rsconnect deploy shiny ${{ matrix.folder }} \
--name gallery \
--entrypoint app-core.py \
--title "template-${{ matrix.folder }}"
fi
48 changes: 48 additions & 0 deletions deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,54 @@
{
"folder": "dashboard",
"guid": 10892532
},
{
"folder": "database-explorer",
"guid": null
},
{
"folder": "map",
"guid": null
},
{
"folder": "monitor-database",
"guid": null
},
{
"folder": "monitor-file",
"guid": null
},
{
"folder": "monitor-folder",
"guid": null
},
{
"folder": "multi-page",
"guid": null
},
{
"folder": "nba-dashboard",
"guid": null
},
{
"folder": "regularization",
"guid": null
},
{
"folder": "stock-app",
"guid": null
},
{
"folder": "survey",
"guid": null
},
{
"folder": "todo_list",
"guid": null
},
{
"folder": "wizard",
"guid": null
}
]
}

0 comments on commit 9ddbdd7

Please sign in to comment.