fix: Hide cashier and traders hub from header for wallet account #1
This file contains 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: deriv-com/binary-bot/release-staging | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release_staging: | |
name: Build, Test and Deploy to Cloudflare Pages | |
environment: Staging | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: "./.github/actions/setup_node" | |
with: | |
node-version: "18.x" | |
- name: Install Dependencies | |
uses: "./.github/actions/npm_install_from_cache" | |
- name: Build | |
uses: "./.github/actions/build" | |
with: | |
GD_API_KEY: ${{ secrets.GD_API_KEY }} | |
GD_APP_ID: ${{ secrets.GD_APP_ID }} | |
GD_CLIENT_ID: ${{ secrets.GD_CLIENT_ID }} | |
TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }} | |
- name: Test | |
uses: "./.github/actions/test" | |
- name: Deploy to Cloudflare Pages | |
uses: "./.github/actions/publish_to_cf_pages_staging" | |
with: | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
- name: Build Docker image and push to Docker hub and K8S | |
uses: "./.github/actions/build_and_push_docker_image" | |
with: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | |
DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }} | |
K8S_NAMESPACE: bot-deriv-com-staging | |
KUBE_SERVER: ${{ secrets.KUBE_SERVER }} | |
SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} | |
CA_CRT: ${{ secrets.CA_CRT }} | |
APP_VERSION: latest-staging |