diff --git a/.github/workflows/dashboard-workflow.yml b/.github/workflows/dashboard-workflow.yml new file mode 100644 index 0000000..972ceb4 --- /dev/null +++ b/.github/workflows/dashboard-workflow.yml @@ -0,0 +1,41 @@ +name: Robot Workflow +on: + push: + branches: + - "main" + tags: + - "*" + pull_request: + +jobs: + build_dashboard: + name: Build Dashboard + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "3.12" + + - name: Install pipenv + run: | + python -m pip install --upgrade pipenv wheel + + - id: cache-pipenv + uses: actions/cache@v3 + with: + path: ~/.local/share/virtualenvs + key: ${{ runner.os }}-pipenv-${{ hashFiles('rio/Pipfile.lock') }} + + - name: Install dependencies + if: steps.cache-pipenv.outputs.cache-hit != 'true' + run: | + make ready + + - name: Build + run: | + make build + + - name: Stage + run: | + make stage