File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Export Shiny App
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ build-docs :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v3
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : ' 3.11'
19+
20+ - name : Install requirements
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install -r requirements.txt
24+
25+ - name : Export Shiny app
26+ run : shinylive export shiny-app docs/
27+
28+ - name : Commit and push docs
29+ run : |
30+ git config --global user.name "github-actions[bot]"
31+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+ git add docs/
33+ git commit -m "Update exported docs [skip ci]" || echo "No changes to commit"
34+ git push
You can’t perform that action at this time.
0 commit comments