-
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.
update ci, CV, bibfiles and script (#2)
* update ci, CV, bibfiles and script * pip install requests * update
- Loading branch information
1 parent
14ae7a5
commit b1d11e4
Showing
8 changed files
with
358 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Deploy site | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v5 | ||
name: "Setup Python" | ||
with: | ||
python-version: '3.12' | ||
|
||
- run: pip install requests | ||
- run: python createbib.py | ||
|
||
|
||
- run: ls -alhtr | ||
|
||
- name: install pandoc | ||
uses: docker://pandoc/core:3.1 | ||
with: | ||
args: -C bibfile.bib -t markdown_strict --csl american-physics-society.csl -o _includes/myPubs.md | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./ | ||
destination: ./_site | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,4 +4,5 @@ _site | |
.jekyll-metadata | ||
vendor | ||
Gemfile.lock | ||
.DS_Store | ||
.DS_Store | ||
.ruby-version |
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,4 +1,4 @@ | ||
--- | ||
title : My CV | ||
title : CV | ||
permalink : "assets/pdfs/GF-CV.pdf" | ||
--- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@article{CMS:2024gxp, | ||
author = "Hayrapetyan, Aram and others", | ||
collaboration = "CMS", | ||
title = "{Search for new physics with emerging jets in proton-proton collisions at $\sqrt{s}$ = 13 TeV}", | ||
eprint = "2403.01556", | ||
archivePrefix = "arXiv", | ||
primaryClass = "hep-ex", | ||
reportNumber = "CMS-EXO-22-015, CERN-EP-2024-049", | ||
month = "3", | ||
year = "2024" | ||
} | ||
|
||
@inproceedings{Malik:2022bdz, | ||
author = "Malik, Sudhir and Karadzhinova-Ferrer, Aneliya and Hogan, Julie and Bray, Rachel and Kamalieddin, Rami and Flood, Kevin and El-Zant, Amr and Fidalgo, Guillermo and Bruhwiler, David and Bellis, Matt", | ||
title = "{Facilitating Non-HEP Career Transition}", | ||
booktitle = "{Snowmass 2021}", | ||
eprint = "2203.11665", | ||
archivePrefix = "arXiv", | ||
primaryClass = "physics.ed-ph", | ||
month = "3", | ||
year = "2022" | ||
} | ||
|
||
@article{Bardeen:2022zwf, | ||
author = "Bardeen, Marge G. and others", | ||
title = "{Particle Physics Outreach to K-12 Schools and Opportunities in Undergraduate Education}", | ||
eprint = "2203.10953", | ||
archivePrefix = "arXiv", | ||
primaryClass = "physics.ed-ph", | ||
reportNumber = "FERMILAB-PUB-22-293-DI", | ||
month = "3", | ||
year = "2022" | ||
} | ||
|
||
@inproceedings{Malik:2022rgw, | ||
author = "Malik, Sudhir and others", | ||
title = "{Broadening the scope of Education, Career and Open Science in HEP}", | ||
booktitle = "{Snowmass 2021}", | ||
eprint = "2203.08809", | ||
archivePrefix = "arXiv", | ||
primaryClass = "physics.ed-ph", | ||
reportNumber = "FERMILAB-CONF-22-198-ND", | ||
month = "3", | ||
year = "2022" | ||
} | ||
@misc{alexander_moreno_briceno_2022_7115834, | ||
author = {Alexander Moreno Briceño and | ||
Aman Goel and | ||
Guillermo Antonio Fidalgo Rodriguez}, | ||
title = {Teaching Python the Sustainable Way: Lessons Learned at HSF Training}, | ||
month = sep, | ||
year = 2022, | ||
publisher = {Zenodo}, | ||
doi = {10.5281/zenodo.7115834}, | ||
url = {https://doi.org/10.5281/zenodo.7115834} | ||
} |
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,20 @@ | ||
import requests | ||
response = requests.get('https://inspirehep.net/api/literature?sort=mostrecent&size=25&page=1&q=Guillermo%20Fidalgo') | ||
url = response.json()['links']['bibtex'] | ||
inspire = requests.get(url).text | ||
|
||
zenodo = r"""@misc{alexander_moreno_briceno_2022_7115834, | ||
author = {Alexander Moreno Briceño and | ||
Aman Goel and | ||
Guillermo Antonio Fidalgo Rodriguez}, | ||
title = {Teaching Python the Sustainable Way: Lessons Learned at HSF Training}, | ||
month = sep, | ||
year = 2022, | ||
publisher = {Zenodo}, | ||
doi = {10.5281/zenodo.7115834}, | ||
url = {https://doi.org/10.5281/zenodo.7115834} | ||
} | ||
""" | ||
with open("bibfile.bib",'w') as f: | ||
f.write(inspire) | ||
f.write(zenodo) |
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.