There was an error while loading. Please reload this page.
1 parent e852ebd commit 4433170Copy full SHA for 4433170
1 file changed
.github/workflows/deploy-on-release-to-instawp.yml
@@ -48,10 +48,17 @@ jobs:
48
- name: Build plugin zip
49
run: npm run dist
50
51
+ - name: List files before deploy
52
+ run: |
53
+ echo "Current working directory:"
54
+ pwd
55
+ echo "Listing all files recursively:"
56
+ find . -type f | sort
57
+
58
- name: Deploy to InstaWP
59
run: |
60
API_KEY=${{ secrets.INSTAWP_API_KEY }}
- PLUGIN_ZIP="dist/accessibility-checker.zip"
61
+ PLUGIN_ZIP=$(ls dist/accessibility-checker-*.zip | head -n 1)
62
SITE_ID=${{ secrets.INSTAWP_SITE_ID }}
63
curl -X POST "https://api.instawp.io/v2/sites/install-plugin" \
64
-H "Authorization: Bearer $API_KEY" \
0 commit comments