Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Trying to fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed May 28, 2024
1 parent 3e67365 commit 529c661
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,28 @@ jobs:
set -e
export PATH=$PATH:/usr/local/go/bin
cd /home/${{ secrets.DOCS_USER }}/trueblocks.io
echo "------------------- git pull ------------------- "
echo ""
git pull
echo "------------------- npm install postcss-cli ------------------- "
echo ""
npm install postcss-cli
echo "------------------- redocly ------------------- "
echo ""
npx @redocly/cli build-docs --disableGoogleFont=true content/api/openapi.yaml -o content/api/index.html
echo "------------------- npm run build ------------------- "
echo ""
npm run build
echo "------------------- chown ------------------- "
echo ""
chown -R ${{ secrets.DOCS_USER }}:${{ secrets.DOCS_USER }} .
cp -pR public/* /var/www/trueblocks.io/html/
cd /var/www/trueblocks.io/html/
echo "------------------- linkinator ------------------- "
echo ""
linkinator -r index.html docs/ papers/ data-model/ api/ --skip localhost:23456 --skip tokenomics.io --skip etherscan.io --skip https://twitter.com/trueblocks --skip intro
echo "------------------- done ------------------- "
echo ""
- name: Check for failure and report to Discord
uses: rjstone/discord-webhook-notify@v1
Expand Down

0 comments on commit 529c661

Please sign in to comment.