We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8831f8 commit b368cc8Copy full SHA for b368cc8
action.yml
@@ -43,6 +43,13 @@ outputs:
43
runs:
44
using: 'composite'
45
steps:
46
+ - name: Collect metrics
47
+ shell: 'bash'
48
+ run: |
49
+ endpoint="https://metrics.myshopify.dev"
50
+ metric='{"events":[{"name": "oxygen.oxygenctl-action-usage", "type": "count", "value": 1}]}'
51
+ curl -X POST -H "Content-Type: application/json" -d "$metric" "$endpoint"
52
+
53
- name: Build and Publish to Oxygen
54
shell: 'bash'
55
id: 'oxygen-cli-action'
0 commit comments