Refactor CSS for improved responsiveness and update Display component… #5
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: React-app-deployment | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Deploy react app to github pages | |
| run: | | |
| pwd | |
| cd mxstatus | |
| pwd | |
| export NODE_OPTIONS=--openssl-legacy-provider | |
| npm ci | |
| CI=false npm run build | |
| git config user.name github-actions | |
| git config user.email github-actions@github.com | |
| git --work-tree build add --all | |
| git commit -m "Auto deployment" | |
| git push origin HEAD:gh-pages --force |