Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI to dashboard workflow #2

Merged
merged 5 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/dashboard-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Robot Workflow
on:
push:
branches:
- "main"
tags:
- "*"
pull_request:

jobs:
build_dashboard:
name: Build Dashboard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install pipenv
run: |
python -m pip install --upgrade pipenv wheel

- name: Install dependencies
run: |
make ready

- name: Build
run: |
make build

- name: Stage
run: |
make stage

- uses: actions/upload-artifact@v4
name: Upload
with:
name: dashboard
path: dist/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Robot Workflow](https://github.com/FRC-1721/crescendo-dashboard/actions/workflows/dashboard-workflow.yml/badge.svg)](https://github.com/FRC-1721/crescendo-dashboard/actions/workflows/dashboard-workflow.yml)

# FRC 1721 Dashboard
## Running the dashboard for the sim
- Make sure you have sed installed
Expand Down