We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3de1a5 commit 4177506Copy full SHA for 4177506
1 file changed
.github/workflows/generate-index.yml
@@ -90,16 +90,8 @@ jobs:
90
echo "📋 Generated index.json:"
91
cat index.json | jq .
92
93
- - name: Commit and push if changed
94
- run: |
95
- git config --local user.name 'OpenAnki Bot'
96
- git config --local user.email 'bot@openanki.app'
97
- git add index.json
98
-
99
- # Only commit if there are changes
100
- if git diff --staged --quiet; then
101
- echo "No changes to index.json"
102
- else
103
- git commit -m "🔄 Auto-update deck index"
104
- git push
105
- fi
+ - name: Upload index.json as artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: deck-index
+ path: index.json
0 commit comments