Skip to content

Commit

Permalink
refactor: move toUpper to validation
Browse files Browse the repository at this point in the history
refactor: remove all ipfs

refactor: revert changes to all-ipfs
  • Loading branch information
sakulstra committed Oct 24, 2022
1 parent 311d954 commit a618ba7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/schema-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,20 @@ jobs:

- name: Verify Schema
run: npm run validation:aip-schema

- name: Verify uppercase
run: |
# rename everything to uppercase
cd content/aips
for i in *.md
do
mv "$i" "$(echo ${i%.md} | tr [:lower:] [:upper:]).md" 2>/dev/null; true
done
# ensure nothing changed
if [[ -z $(git status -s) ]]
then
echo "tree is clean"
else
echo "your filename must be uppercase"
exit 1
fi
3 changes: 0 additions & 3 deletions .github/workflows/upload-ipfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Rename aip to upper case
run: cd content/aips && bash toUpper.sh || true && cd ../..

- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
4 changes: 0 additions & 4 deletions content/aips/toUpper.sh

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit a618ba7

Please sign in to comment.