fixed some css on control view #180
Workflow file for this run
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: "build-controls" | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Checkout web | |
uses: actions/checkout@v3 | |
with: | |
repository: BYU-PCCL/footron-web | |
path: web | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
cache-dependency-path: './web/yarn.lock' | |
- name: Install web dependencies | |
working-directory: ./web | |
run: yarn install --frozen-lockfile | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install build script dependencies | |
run: pip install tomli | |
- name: Install web build script | |
run: pip install git+https://github.com/byu-pccl/footron-web-build.git | |
- name: Get branch name with underscores | |
id: format-branch-name | |
run: echo "::set-output name=BRANCH_NAME::$(echo '${{github.ref_name}}' | tr - _)" | |
- name: Run web build script | |
env: | |
REACT_APP_API_BASE_URL: ${{ secrets[format('api_base_url_{0}', steps.format-branch-name.outputs.BRANCH_NAME)] }} | |
REACT_APP_MESSAGING_BASE_URL: ${{ secrets[format('messaging_base_url_{0}', steps.format-branch-name.outputs.BRANCH_NAME)] }} | |
run: CI= python3 -m footron_web_build ./web ./build $(python3 clone_remote_experiences.py) | |
- name: Upload web build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: web-build | |
path: build |