File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : deploy
2
2
3
- # Run this workflow when a push is made to the main branch
3
+ # Run this workflow when a new release is published
4
4
on :
5
- push :
6
- branches : [ main ]
5
+ release :
6
+ types : [published]
7
7
jobs :
8
8
build_and_deploy :
9
9
runs-on : ubuntu-latest # Use the latest version of Ubuntu
32
32
uses : peaceiris/actions-gh-pages@v3
33
33
with :
34
34
github_token : ${{ secrets.GITHUB_TOKEN }}
35
- publish_dir : ./build/web
35
+ publish_dir : ./build/web
Original file line number Diff line number Diff line change @@ -108,11 +108,16 @@ class FeedInjectorService {
108
108
if (userRole == UserRole .guestUser) {
109
109
daysThreshold = daysBetweenActionsConfig.guestDaysBetweenAccountActions;
110
110
actionType = AccountActionType .linkAccount;
111
- } else if (userRole == UserRole .standardUser) {
112
- // Assuming standardUser is the target for upgrade prompts
111
+ } else if (userRole == UserRole .standardUser) {
113
112
daysThreshold =
114
113
daysBetweenActionsConfig.standardUserDaysBetweenAccountActions;
115
- actionType = AccountActionType .upgrade;
114
+
115
+ // todo(fulleni): once account upgrade feature is implemented,
116
+ // uncomment the action type line
117
+ // and remove teh null return line.
118
+
119
+ // actionType = AccountActionType.upgrade;
120
+ return null ;
116
121
} else {
117
122
// No account actions for premium users or other roles for now
118
123
return null ;
You can’t perform that action at this time.
0 commit comments