app-tutor-ai-consumer 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,7 @@ jobs:
95
95
  uses: newrelic/deployment-marker-action@v2.5.1
96
96
  env:
97
97
  VERSION: ${{ env.VERSION }}
98
- NEW_RELIC_API_KEY: NRAK-NX0XDEQLIGCEWTLWS6EQ17B4VY1
98
+ NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
99
99
  NEW_RELIC_DEPLOYMENT_ENTITY_GUID: Mjc1MDN8QVBNfEFQUExJQ0FUSU9OfDEwOTUyNjI4MTc
100
100
  with:
101
101
  apiKey: ${{ env.NEW_RELIC_API_KEY }}
@@ -139,7 +139,7 @@ jobs:
139
139
  "textButton": {
140
140
  "onClick": {
141
141
  "openLink": {
142
- "url": "https://github.com/Hotmart-Org/app-club-consumer/actions/runs/${{ github.run_id }}"
142
+ "url": "https://github.com/Hotmart-Org/app-tutor-ai-consumer/actions/runs/${{ github.run_id }}"
143
143
  }
144
144
  },
145
145
  "text": "Follow this deploy"
@@ -57,7 +57,7 @@ jobs:
57
57
  uses: newrelic/deployment-marker-action@v2.5.1
58
58
  env:
59
59
  ROLLBACK_VERSION: ${{ github.event.inputs.rollbackVersion }}
60
- NEW_RELIC_API_KEY: NRAK-14TLYFWRA5RCKUGK4A3TJSAPU78
60
+ NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
61
61
  NEW_RELIC_DEPLOYMENT_ENTITY_GUID: Mjc1MDN8QVBNfEFQUExJQ0FUSU9OfDEwOTE1MDMzMTE
62
62
  with:
63
63
  apiKey: ${{ env.NEW_RELIC_API_KEY }}
@@ -104,7 +104,7 @@ jobs:
104
104
  uses: newrelic/deployment-marker-action@v2.5.1
105
105
  env:
106
106
  ROLLBACK_VERSION: ${{ github.event.inputs.rollbackVersion }}
107
- NEW_RELIC_API_KEY: NRAK-NX0XDEQLIGCEWTLWS6EQ17B4VY1
107
+ NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
108
108
  NEW_RELIC_DEPLOYMENT_ENTITY_GUID: Mjc1MDN8QVBNfEFQUExJQ0FUSU9OfDEwOTUyNjI4MTc
109
109
  with:
110
110
  apiKey: ${{ env.NEW_RELIC_API_KEY }}
@@ -123,12 +123,17 @@ jobs:
123
123
  cdn-url: ${{ env.CLOUDFRONT_URL }}
124
124
 
125
125
  staging-notification:
126
- name: 'Staging Notification'
127
- runs-on: [buildstaging-iac]
128
- needs: ['deploy-staging']
129
- steps:
126
+ name: 'Staging Notification'
127
+ runs-on: [buildstaging-iac]
128
+ needs: ['deploy-staging']
129
+ steps:
130
130
  - name: Checkout
131
131
  uses: actions/checkout@v4
132
+ with:
133
+ token: ${{ secrets.CI_GH_TOKEN }}
134
+ fetch-depth: 0
135
+ ref: ${{ env.BRANCH_REF }}
136
+ fetch-tags: true
132
137
 
133
138
  - name: Extract version from package.json
134
139
  run: |
@@ -146,7 +151,57 @@ jobs:
146
151
  apiKey: ${{ env.NEW_RELIC_API_KEY }}
147
152
  guid: ${{ env.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }}
148
153
  version: ${{ env.VERSION }}
149
- user: '${{ github.actor }}'
150
- changelog: 'https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md'
151
- commit: '${{ github.sha }}'
152
- description: 'Deploy: ${{env.APP_NAME}} v${{env.VERSION}} - ${{ github.ref_name }}'
154
+ user: "${{ github.actor }}"
155
+ changelog: "https://github.com/${{ github.repository }}/blob/master/CHANGELOG.md"
156
+ commit: "${{ github.sha }}"
157
+ description: "Deploy: ${{env.APP_NAME}} v${{ env.VERSION }} - ${{ github.ref_name }}"
158
+
159
+ - name: Notify Google Chat
160
+ uses: Hotmart-Org/actions/notification@master
161
+ env:
162
+ VERSION: ${{ env.VERSION }}
163
+ with:
164
+ type: 'Original'
165
+ author: true
166
+ webhook-chat: 'https://chat.googleapis.com/v1/spaces/AAAA1nvOyjo/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=uuL7DA8zTxUkJjQa39HIM0TYVZV0DvneZ0mklNhEr5M'
167
+ body: |
168
+ {
169
+ "text": "📦 *[STAGING] app-tutor-ai-consumer v${{ env.VERSION }}*: staging deploy: ${{ github.ref_name }}",
170
+ "cards": [
171
+ {
172
+ "header": {
173
+ "title": "Started by ${{ github.actor }}"
174
+ },
175
+ "sections": [
176
+ {
177
+ "widgets": [
178
+ {
179
+ "buttons": [
180
+ {
181
+ "textButton": {
182
+ "onClick": {
183
+ "openLink": {
184
+ "url": "${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}"
185
+ }
186
+ },
187
+ "text": "View commit"
188
+ }
189
+ },
190
+ {
191
+ "textButton": {
192
+ "onClick": {
193
+ "openLink": {
194
+ "url": "https://github.com/Hotmart-Org/app-tutor-ai-consumer/actions/runs/${{ github.run_id }}"
195
+ }
196
+ },
197
+ "text": "Follow this deploy"
198
+ }
199
+ }
200
+ ]
201
+ }
202
+ ]
203
+ }
204
+ ]
205
+ }
206
+ ]
207
+ }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [1.8.0](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.7.0...v1.8.0) (2025-07-14)
2
+
3
+ ### Features
4
+
5
+ - changing notifications and keys ([57312bc](https://github.com/Hotmart-Org/app-tutor-ai-consumer/commit/57312bc069bc1f9ba0fefde00f252f615e52efa4))
6
+
1
7
  # [1.7.0](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.6.0...v1.7.0) (2025-07-11)
2
8
 
3
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app-tutor-ai-consumer",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "dev": "rspack serve --env=development --config config/rspack/rspack.config.js",