forked from digital-sustainability/oss-github-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4e6ca5
commit 36cb1f1
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
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
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.* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |