Skip to content

Commit

Permalink
added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeOneTwo committed Nov 28, 2020
1 parent b4e6ca5 commit 36cb1f1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
File renamed without changes.
26 changes: 26 additions & 0 deletions .github/workflows/data-gathering.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install dependencies
run: |
cd data-gathering
python -m pip install --upgrade pip
pip install -r requirements.txt
python OSS_github_benchmark.py
- uses: actions/upload-artifact@v2
with:
name: my-artifact
path: oss-github-benchmark.*
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ stop: ## stop app in docker
docker-compose -f docker/dev/docker-compose.yml -p $(project_name) down

deploy: ## deploy to github pages
cd frontend && ng deploy --base-href=/oss-github-benchmark/
# cd frontend && ng deploy --base-href=/oss-github-benchmark/
cd frontend && ng deploy --cname=ossbenchmark.com [email protected]:digital-sustainability/oss-github-benchmark.git

0 comments on commit 36cb1f1

Please sign in to comment.