Skip to content

Commit

Permalink
update ci, CV, bibfiles and script (#2)
Browse files Browse the repository at this point in the history
* update ci, CV, bibfiles and script

* pip install requests

* update
  • Loading branch information
GuillermoFidalgo authored Mar 8, 2024
1 parent 14ae7a5 commit b1d11e4
Show file tree
Hide file tree
Showing 8 changed files with 358 additions and 10 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/ci.yml
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ _site
.jekyll-metadata
vendor
Gemfile.lock
.DS_Store
.DS_Store
.ruby-version
2 changes: 1 addition & 1 deletion CV.md
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"
---
16 changes: 12 additions & 4 deletions _data/Publications.bib
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
@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}",
Expand Down Expand Up @@ -35,13 +46,10 @@ @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}},
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}
}

s
56 changes: 56 additions & 0 deletions bibfile.bib
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}
}
20 changes: 20 additions & 0 deletions createbib.py
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)
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ layout: home
</center>
<br>

# About me

My name is Guillermo Fidalgo and I'm currently pursuing a Masters in Experimental High Energy Physics (CMS Experiment) at University of Puerto Rico Mayagüez [(UPRM)](https://www.uprm.edu/portada/) under the mentorship of professor [Sudhir Malik](http://charma.uprm.edu/~malik/). I speak fluent english and spanish. I have a major in Physics and a Minor in applied mathematics. I like watching Netflix, playing Basketball, video games and billiards.
Expand Down
Loading

0 comments on commit b1d11e4

Please sign in to comment.