diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index d18e3438..eed3c162 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -37,18 +37,24 @@ jobs: with: submodules: recursive if: ${{ github.event_name != 'pull_request' && steps.extract_branch.outputs.branch == 'master' }} - - name: Run install + - name: Build + run: | + ./gradlew run + - name: Run yarn install uses: borales/actions-yarn@v4 with: dir: 'website' cmd: install # will run `yarn install` command if: ${{ github.event_name != 'pull_request' && steps.extract_branch.outputs.branch == 'master' }} - - name: Test the app + - name: Run yarn build uses: borales/actions-yarn@v4 with: dir: 'website' cmd: run build # will run `yarn test` command - if: ${{ github.event_name != 'pull_request' && steps.extract_branch.outputs.branch == 'master' }} + if: ${{ github.event_name != 'pull_request' && steps.extract_branch.outputs.branch == 'master' }} + - name: Merge + run: | + cp -a output/. website/public/ - name: Deploy uses: JamesIves/github-pages-deploy-action@4.1.4 with: diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt index eedab3b4..1ef364c4 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -103,24 +103,6 @@ private fun createOutputFiles() { File(buildPath, "chain_icons.json").writeText(chainIconJSONArray.toJsonString(prettyPrint = true)) File(buildPath, "shortNameMapping.json").writeText(shortNameMapping.toJsonString(prettyPrint = true)) - File(buildPath, "index.html").writeText( - """ - - -
- - - -