Skip to content

Commit

Permalink
Don't gitignore catalouge
Browse files Browse the repository at this point in the history
  • Loading branch information
Xerbo committed Jul 20, 2022
1 parent a917bb2 commit 4448df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
uses: actions/checkout@v3

- name: Build satfreq.json
run: python3 concatenate.py && mkdir data && mv satfreq.json data
run: rm .gitignore && python3 concatenate.py

- name: Upload satfreq.json
uses: actions/upload-artifact@v3
with:
name: satfreq
path: data/satfreq.json
path: satfreq.json

- name: Generate json/ directory listing
run: cd json && (echo '<!DOCTYPE html><html><body><ul>'; for i in *; do echo "<li><a href=\"$i\">$i</a></li>"; done; echo '</ul></body></html>') > index.html
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h2>Downlinks:</h2>

window.onload = function() {
let xhr = new XMLHttpRequest();
xhr.open('GET', 'data/satfreq.json');
xhr.open('GET', 'satfreq.json');
xhr.send();

xhr.onload = function() {
Expand Down

0 comments on commit 4448df1

Please sign in to comment.