This repository was archived by the owner on Jan 16, 2026. It is now read-only.
chore(deps): update dependency axios to v1.13.2 (#524) #502
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 & Deploy | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| concurrency: | |
| group: ${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - run: npm ci | |
| - run: npm run build --if-present | |
| - uses: a7ul/tar-action@v1.2.0 | |
| with: | |
| command: c | |
| cwd: "./" | |
| files: | | |
| .env.dist | |
| migrations/ | |
| scripts/ | |
| src/ | |
| babel.config.js | |
| captain-definition | |
| Dockerfile | |
| package.json | |
| package-lock.json | |
| supervisord.conf | |
| tsconfig.json | |
| outPath: deploy.tar | |
| - name: Deploy App to Caprover | |
| uses: caprover/deploy-from-github@v1.2.0 | |
| with: | |
| server: ${{ secrets.CAPROVER_SERVER }} | |
| app: ${{ secrets.CAPROVER_APP }} | |
| token: ${{ secrets.CAPROVER_TOKEN }} | |
| - name: Send default message | |
| uses: appleboy/telegram-action@master | |
| with: | |
| to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
| token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
| message: | | |
| Deployed | |
| ${{ github.actor }} created commit: | |
| Commit message: ${{ github.event.commits[0].message }} | |
| Repository: ${{ github.repository }} | |
| See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} | |
| See deployment: ${{ secrets.CAPROVER_SERVER }}/#/apps/details/${{ secrets.CAPROVER_APP }} | |
| - name: Send failure message | |
| if: failure() | |
| uses: appleboy/telegram-action@master | |
| with: | |
| to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
| token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
| message: | | |
| !!Deployment has FAILED!! | |
| ${{ github.actor }} created commit: | |
| Commit message: ${{ github.event.commits[0].message }} | |
| Repository: ${{ github.repository }} | |
| See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} | |
| See deployment: ${{ secrets.CAPROVER_SERVER }}/#/apps/details/${{ secrets.CAPROVER_APP }} |