-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from fox8090/master
Major Changes to Policy Simulation Library's Website
- Loading branch information
Showing
165 changed files
with
176,570 additions
and
29,734 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Update PSL catalog | ||
on: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
- cron: "0 1 * * *" | ||
push: | ||
branches: | ||
- master | ||
|
@@ -10,32 +10,33 @@ jobs: | |
build_catalog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
activate-environment: catalog-env | ||
environment-file: environment.yml | ||
python-version: 3.8 | ||
auto-activate-base: false | ||
- name: Setup Miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
activate-environment: catalog-env | ||
environment-file: environment.yml | ||
python-version: 3.8 | ||
auto-activate-base: false | ||
|
||
- name: Run python script | ||
working-directory: ./Tools/Catalog-Builder/ | ||
shell: bash -l {0} | ||
run: | | ||
pip install -e . | ||
cd catalog_builder | ||
python catalog.py | ||
- name: Run python script | ||
working-directory: ./Tools/Catalog-Builder/ | ||
shell: bash -l {0} | ||
run: | | ||
pip install -e . | ||
cd catalog_builder | ||
python catalog.py | ||
python catalog.py --incubating | ||
- name: Commit new changes | ||
working-directory: ./ | ||
shell: bash -l {0} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Commit new changes | ||
working-directory: ./ | ||
shell: bash -l {0} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add -A | ||
git commit --allow-empty -m "Update PSL-catalog on $(date +'%Y-%m-%d')" | ||
git push | ||
git add -A | ||
git commit --allow-empty -m "Update PSL-catalog on $(date +'%Y-%m-%d')" | ||
git push |
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 |
---|---|---|
|
@@ -4,37 +4,38 @@ on: | |
branches: | ||
- master | ||
paths: | ||
- 'Community/**.md' | ||
- 'Catalog/**.md' | ||
- "Community/**.md" | ||
- "Catalog/**.md" | ||
|
||
jobs: | ||
build_community_pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
activate-environment: catalog-env | ||
environment-file: environment.yml | ||
python-version: 3.8 | ||
auto-activate-base: false | ||
- name: Setup Miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
activate-environment: catalog-env | ||
environment-file: environment.yml | ||
python-version: 3.8 | ||
auto-activate-base: false | ||
|
||
- name: Run shell script | ||
working-directory: ./Tools/Page-Builder/ | ||
shell: bash -l {0} | ||
run: | | ||
sh make_pages.sh | ||
- name: Run shell script | ||
working-directory: ./Tools/Page-Builder/ | ||
shell: bash -l {0} | ||
run: | | ||
pip install -r requirements.txt | ||
sh make_pages.sh | ||
- name: Commit new changes | ||
working-directory: ./ | ||
shell: bash -l {0} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Commit new changes | ||
working-directory: ./ | ||
shell: bash -l {0} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add -A | ||
git commit --allow-empty -m "Update PSL community pages on $(date +'%Y-%m-%d')" | ||
git push | ||
git add -A | ||
git commit --allow-empty -m "Update PSL community pages on $(date +'%Y-%m-%d')" | ||
git push |
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
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
Oops, something went wrong.