Merge pull request #286 from CivicDataLab/fix/banner #419
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: Node.js CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [14.x] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # - name: Cache node modules | |
| # uses: actions/cache@v2 | |
| # env: | |
| # cache-name: cache-node-modules | |
| # with: | |
| # path: ~/.npm | |
| # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
| # restore-keys: | | |
| # ${{ runner.os }}-build-${{ env.cache-name }}- | |
| # ${{ runner.os }}-build- | |
| # ${{ runner.os }}- | |
| - run: npm install | |
| - run: npm run build | |
| - name: deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| cname: civicdatalab.in | |
| env: | |
| CI: true |