Skip to content

Commit

Permalink
applied changes to this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
TanvirDeol committed Feb 12, 2025
1 parent 38a1a3f commit e908a83
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/upload-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@ jobs:
with:
install-nodejs: 'true'

- name: Create generate-docs.js script
run: |
SCRIPT_PATH=scripts/generate-docs.js
echo "const path = require('path');" > $SCRIPT_PATH
echo "const generateDocsIndex = require('@axelar-network/axelar-gmp-sdk-solidity').generateDocsIndex;" >> $SCRIPT_PATH
echo "generateDocsIndex('docs', 'docs/index.md');" >> $SCRIPT_PATH
- name: Run Upload Docs Action
uses: axelarnetwork/axelar-gmp-sdk-solidity/.github/actions/upload-docs@ci/evm-docs-to-github-pages
with:
branches: main,ci/evm-docs-to-github-pages
environment_name: github-pages
script: scripts/generate-docs.js

deploy:
needs: upload-docs
environment:
Expand All @@ -37,4 +46,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/axelarnetwork/axelar-cgp-solidity#readme",
"dependencies": {
"@axelar-network/axelar-gmp-sdk-solidity": "5.10.0"
"@axelar-network/axelar-gmp-sdk-solidity": "0.0.0-snapshot.caeff04"
},
"devDependencies": {
"@0xpolygonhermez/zkevm-commonjs": "github:0xpolygonhermez/zkevm-commonjs#v1.0.0",
Expand Down

0 comments on commit e908a83

Please sign in to comment.