Skip to content

Commit

Permalink
Remove "prototype" handling from citation.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Sep 6, 2024
1 parent 28e9496 commit 991b559
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/citation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ jobs:
run: |
if [ -f "CITATION.bib" ]; then
arr=(${GITHUB_REPOSITORY//\// })
REPO=${arr[1]}
export PROTOTYPE=${REPO#"prototype-"}
export REPO=${arr[1]}
cat <<- EOF > preview.tex
\documentclass[preprint,aps,physrev,notitlepage]{revtex4-2}
\usepackage{hyperref}
\begin{document}
\title{\texttt{$PROTOTYPE} BibTeX test}
\title{\texttt{$REPO} BibTeX test}
\maketitle
\noindent
\texttt{$PROTOTYPE}
\cite{$PROTOTYPE}
\texttt{$REPO}
\cite{$REPO}
\bibliography{CITATION}
\end{document}
EOF
Expand Down

0 comments on commit 991b559

Please sign in to comment.