Skip to content

Commit 73ee1f2

Browse files
committedDec 17, 2024
Create workflow yaml to re-publish app on merging to main
1 parent ec03773 commit 73ee1f2

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎.github/workflows/deploy-shiny.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
name: Deploy template app to shinyapps.io
7+
8+
jobs:
9+
deploy-shiny:
10+
name: Deploy to shinyapps.io
11+
runs-on: ubuntu-latest
12+
env:
13+
GITHUB_PAT: ${{ secrets.ACCESS_TOKEN }}
14+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
15+
16+
steps:
17+
- name: 🛎️ Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- id: deploy
22+
name: 💎 Deploy to shinyapps.io
23+
uses: qwert666/shinyapps-actions@main
24+
env:
25+
SHINY_USERNAME: ${{ secrets.SHINYAPPS_ACCOUNT }}
26+
SHINY_TOKEN: ${{ secrets.SHINYAPPS_TOKEN }}
27+
SHINY_SECRET: ${{ secrets.SHINYAPPS_SECRET }}
28+
APP_NAME: 'markov_example'
29+

0 commit comments

Comments
 (0)
Failed to load comments.