File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ permissions:
20
20
contents : read
21
21
pages : write
22
22
id-token : write
23
+ deployments : write
23
24
24
25
# Allow one concurrent deployment
25
26
concurrency :
@@ -130,3 +131,13 @@ jobs:
130
131
id : deployment
131
132
uses : actions/deploy-pages@v2
132
133
if : ${{ success() }}
134
+
135
+ - name : Deploy to Cloudflare Pages
136
+ uses : cloudflare/pages-action@1
137
+ if : ${{ success() }}
138
+ with :
139
+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
140
+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
141
+ projectName : hndigest
142
+ directory : ' output'
143
+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ def expire():
108
108
Summary .model .not_in ((Model .OPENAI .value , Model .TRANSFORMER .value , Model .LLAMA .value )))
109
109
result = session .execute (stmt )
110
110
cost = (time .time () - start ) * 1000
111
- logger .info (f'evicted { result .rowcount } content items, cost(ms): { cost :.2f} ' )
111
+ logger .info (f'evicted { result .rowcount } full content items, cost(ms): { cost :.2f} ' )
112
+
112
113
session .commit ()
113
114
return deleted + result .rowcount
You can’t perform that action at this time.
0 commit comments