Web faucet UI adjustments #119
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: Build and Deploy Netlify | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'web-app/**' | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - 'web-app/**' | |
| jobs: | |
| deploy: | |
| concurrency: ci-${{ github.ref }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./web-app | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| - name: Deploy to Netlify Action 🚀 | |
| uses: netlify/actions/cli@master | |
| env: | |
| NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
| NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
| NEXT_PUBLIC_RPC_ENDPOINT: ${{ secrets.NEXT_PUBLIC_RPC_ENDPOINT }} | |
| PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
| with: | |
| args: deploy --dir=web-app/build | |
| secrets: '["NETLIFY_AUTH_TOKEN", "NETLIFY_SITE_ID", "NEXT_PUBLIC_RPC_ENDPOINT", "PRIVATE_KEY"]' |