This repository was archived by the owner on Jul 15, 2025. It is now read-only.
Merge pull request #104 from vinu-deriv/Vinu/GRWT-5060/chart-integration #86
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: Staging Deployment | |
on: | |
push: | |
branches: [master] | |
env: | |
NODE_ENV: staging | |
jobs: | |
deploy_staging: | |
name: Deploy to Staging | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/setup_node | |
- name: Install dependencies | |
uses: ./.github/actions/npm_install_from_cache | |
- name: Run tests | |
run: npm test | |
- name: Build | |
uses: ./.github/actions/build | |
with: | |
RSBUILD_REST_URL: ${{ secrets.RSBUILD_REST_URL }} | |
- name: Publish to Staging | |
uses: ./.github/actions/publish_to_staging | |
with: | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
PROJECT_NAME: champion-trader |