Skip to content

Commit

Permalink
Fix public action errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Jul 16, 2024
1 parent bd7269b commit 211b46f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
passphrase: ${{ secrets.PGP_PASSWORD }}

- name: Sign API files
run: bash scripts/Sign.rb
run: bash scripts/Sign.sh
env:
PGP_PASSWORD: ${{ secrets.PGP_PASSWORD }}
PGP_KEY_ID: ${{ steps.pgp.outputs.keyid }}
Expand All @@ -67,7 +67,7 @@ jobs:
rsync -av {robots.txt,api/} public/
rsync -av img/. public/icons/
- uses: actions/upload-pages-artifact@v4
- uses: actions/upload-pages-artifact@v3
with:
path: public/

Expand Down
2 changes: 1 addition & 1 deletion scripts/APIv3.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Object.keys(all)
entry["tfa"].forEach((method) => {
if (!tfa[method]) tfa[method] = {};

tfa[method][key] = entry;
tfa[method][entryName] = entry;
});
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/Sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sign_and_verify() {
}

# Iterate API files in parallel
for f in api/v*/.json; do
for f in api/v*/*.json; do
sign_and_verify "$f" &
done

Expand Down

0 comments on commit 211b46f

Please sign in to comment.