Skip to content

Commit

Permalink
Add Docs Workflow (#2)
Browse files Browse the repository at this point in the history
* Add Docs Workflow

* Fix Export for Actions

---------

Co-authored-by: dev2-nomo <dev2@nomo.app>
  • Loading branch information
nomo-app and dev2-nomo authored Nov 15, 2023
1 parent 8fffc63 commit 0e3387b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,26 @@ jobs:
- run: cd ..
- run: cd ..
- name: Lint analysis
run: flutter analyze
run: flutter analyze

generate-docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1

- name: Install dartdoc
run: flutter pub global activate dartdoc

- name: Generate API docs
run: flutter pub global run dartdoc

- name: Copy Docs output
run: cp -R doc/api docs

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACTION_GITHUB_TOKEN }}
publish_dir: ./docs
2 changes: 1 addition & 1 deletion lib/src/crypto/wallet_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:web3dart/web3dart.dart';
import 'package:bip39/bip39.dart' as bip39;
import 'package:bip32/bip32.dart' as bip32;

export 'package:walletkit_dart/src/crypto/utxo/derivation.dart';
export './utxo/derivation.dart';

// const _rpcUrlGoerli =
// "https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161";
Expand Down

0 comments on commit 0e3387b

Please sign in to comment.