message: Remove deployment from branch
diff: @@ -45,47 +45,3 @@ jobs:
  with:
  check_name: 'ssr-web test results'
  files: test-results/**/*.xml
  -
  - # FIXME temporarily promoted from push-main
  - deploy-ssr-web-staging:
  - name: Deploy ssr-web
  - runs-on: ubuntu-latest
  - steps:
  - - uses: actions/checkout@v2
  - - name: Set up yarn cache
  - uses: actions/cache@v2
  - with:
  - path: ~/.cache/yarn
  - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
  - restore-keys: |
  - ${{ runner.os }}-yarn-
  - - name: Deploy ssr-web
  - uses: ./.github/actions/deploy-ssr-web
  - env:
  - HUB_URL: https://hub-staging.stack.cards
  - AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_WAYPOINT_AWS_ACCESS_KEY }}
  - AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_WAYPOINT_AWS_SECRET }}
  - AWS_DEFAULT_REGION: us-east-1
  - WAYPOINT_SERVER_TOKEN: ${{ secrets.STAGING_WAYPOINT_SERVER_TOKEN }}
  - WAYPOINT_SERVER_ADDR: ${{ secrets.STAGING_WAYPOINT_SERVER_ADDR }}
  - SENTRY_DSN: ${{ secrets.SSR_WEB_CLIENT_SENTRY_DSN }}
  - with:
  - environment: staging
  - - name: Send success notification to Discord
  - if: ${{ success() }}
  - uses: ./.github/actions/discord-message
  - with:
  - token: ${{ secrets.DISCORD_TOKEN }}
  - channel: ${{ secrets.DISCORD_CHANNEL }}
  - message: |
  - :checkered_flag: **ssr-web** [main] has been successfully deployed to *staging*
  - :arrow_forward: Workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
  - - name: Send failure notification to Discord
  - if: ${{ failure() }}
  - uses: ./.github/actions/discord-message
  - with:
  - token: ${{ secrets.DISCORD_TOKEN }}
  - channel: ${{ secrets.DISCORD_CHANNEL }}
  - message: |
  - :warning: **ssr-web** [main] has failed to deploy to *staging*
  - :arrow_forward: Workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
  