Merge pull request #143 from catchain/tonscan-patch-50 #137
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rebuild autogenerated files on commit to master | |
| on: | |
| push: | |
| paths: | |
| - source/* | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - run: npm install | |
| - run: npm run build | |
| - run: | | |
| if [[ `git status --porcelain` ]]; then | |
| git config --global user.name "github-actions" | |
| git config --global user.email "github-actions@users.noreply.github.com" | |
| git add -A --force | |
| git commit -m 'Regenerate addressbook' | |
| git push | |
| fi |