-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename data_parse.yml to deploy_parse.yml
Added deploy and parse to same page - Made markdown copy function - Created dependency
- Loading branch information
Showing
2 changed files
with
43 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
name: manuscript_export | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: upgrade pip and install python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U pip setuptools | ||
pip install requests | ||
pip install beautifulsoup4 | ||
pip install pandas | ||
pip install lxml | ||
pip install html5lib | ||
- name: output_render | ||
uses: jannekem/run-python-script-action@v1 | ||
with: | ||
script: | | ||
- name: commit files | ||
continue-on-error: true | ||
run: | | ||
today=$(date +"%Y-%m-%d") | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A | ||
git commit -m "updated datasets ${today} UTC" -a | ||
- name: push changes | ||
continue-on-error: true | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main |