Skip to content

Commit 416998e

Browse files
committed
update deployment to include donot packet app
1 parent 29f2fdf commit 416998e

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/deploy-shinyapps.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,19 @@ jobs:
5656
fi
5757
5858
- name: Set up Auth0 config
59-
if: steps.determine-app.outputs.app_name == 'donor-retention-calculator'
6059
run: |
6160
cd ${{ steps.determine-app.outputs.app_name }}
6261
6362
# Create _auth0.yml from template
63+
if [ "${{ steps.determine-app.outputs.app_name }}" == "donor-retention-calculator" ]; then
64+
APP_NAME="donor-retention-private"
65+
elif [ "${{ steps.determine-app.outputs.app_name }}" == "board-packet-generator" ]; then
66+
APP_NAME="board-packet-private"
67+
fi
68+
6469
cat > _auth0.yml << EOF
65-
name: donor-retention-private
66-
remote_url: 'https://${{ secrets.SHINYAPPS_ACCOUNT }}.shinyapps.io/donor-retention-private/'
70+
name: $APP_NAME
71+
remote_url: 'https://${{ secrets.SHINYAPPS_ACCOUNT }}.shinyapps.io/$APP_NAME/'
6772
auth0_config:
6873
api_url: https://${{ secrets.AUTH0_DOMAIN }}
6974
credentials:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ rsconnect/
5151
# Auth0 configuration files (contain sensitive credentials)
5252
_auth0.yml
5353
*/_auth0.yml
54+
55+
# AI assistant
56+
CLAUDE.md

0 commit comments

Comments
 (0)