We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38fc63 commit 435bc4cCopy full SHA for 435bc4c
.github/workflows/generate-subdirectory-list.yml
@@ -11,6 +11,9 @@ jobs:
11
steps:
12
- name: Checkout repo
13
uses: actions/checkout@v3
14
+ with:
15
+ persist-credentials: true
16
+ ref: main # Make sure to track the actual branch
17
18
- name: Generate subdirectories.json
19
run: |
@@ -29,4 +32,4 @@ jobs:
29
32
git config user.email "github-actions[bot]@users.noreply.github.com"
30
33
git add subdirectories.json
31
34
git commit -m "Update subdirectories list" || echo "No changes"
- git push
35
+ git push origin main # Explicitly push to the main branch
app.js
@@ -1,4 +1,4 @@
1
-fetch('directories.json')
+fetch('subdirectories.json')
2
.then(response => response.json())
3
.then(directories => {
4
const list = document.getElementById("subdirectoryList");
0 commit comments