web3auth intergation, navbar authentication, #16
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: Frontend Deploy on self-hosted runner | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Install and Build Frontend | |
| run: | | |
| cd /home/githubrunner/proplex-admin-v2-main | |
| npm install | |
| npm run build | |
| sudo rm -rf /var/www/proplex-admin/* | |
| sudo cp -r dist/* /var/www/proplex-admin/ | |
| - name: Reload Nginx | |
| run: | | |
| sudo systemctl reload nginx --no-block |