Skip to content

Commit a1bf5b6

Browse files
committed
2 parents b5b6cdc + 176f3bb commit a1bf5b6

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# https://github.com/marketplace/actions/deploy-to-shinyapps-io
2+
name: Deploy to shinyapps.io
3+
on:
4+
5+
# run on any push
6+
push:
7+
8+
# run on request (via button in actions menu)
9+
workflow_dispatch:
10+
11+
jobs:
12+
deploy:
13+
name: Deploy to shinyapps
14+
15+
# allow skipping deployment for commits containing '[automated]' or '[no-deploy]' in the commit message
16+
if: "!contains(github.event.head_commit.message, '[automated]') && !contains(github.event.head_commit.message, '[no-deploy]')"
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: deploy
21+
uses: BDSI-Utwente/shinyapps-deploy-github-action@v1
22+
with:
23+
# account and application name (https://<accountName>.shinyapps.io/<appName>)
24+
appName: dataexploration
25+
accountName: jonas-aldous
26+
27+
# token and secret obtained from https://www.shinyapps.io/admin/#/tokens
28+
accountToken: ${{ secrets.SHINYAPPS_TOKEN }}
29+
accountSecret: ${{ secrets.SHINYAPPS_SECRET }}

0 commit comments

Comments
 (0)