-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 1018 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Deploy to shinyapps.io
on:
# run on any push
push:
# run on request (via button in actions menu)
workflow_dispatch:
jobs:
deploy:
name: Deploy to shinyapps
# allow skipping deployment for commits containing '[automated]' or '[no-deploy]' in the commit message
if: "!contains(github.event.head_commit.message, '[automated]') && !contains(github.event.head_commit.message, '[no-deploy]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: deploy
# uses: BDSI-Utwente/shinyapps-deploy-github-action@v1
uses: GuestJim/shinyapps-deploy-github-action@TBOG_Data
with:
# account and application name (https://<accountName>.shinyapps.io/<appName>)
appName: The_Body_on_Games-list
accountName: guestjim
# token and secret obtained from https://www.shinyapps.io/admin/#/tokens
accountToken: ${{ secrets.SHINYAPPS_TOKEN }}
accountSecret: ${{ secrets.SHINYAPPS_SECRET }}