Skip to content

Commit 2ee7995

Browse files
committed
pass build through /build folder
1 parent 088f694 commit 2ee7995

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.ci/update_build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
99
git config --global user.name "Travis"
1010
fi
1111
# using token clone build branch
12-
git clone --quiet --branch=$BRANCH https://${GITHUB_TOKEN}@github.com/$TARGET_REPO > /dev/null
12+
git clone --quiet --branch=$BRANCH https://${GITHUB_TOKEN}@github.com/$TARGET_REPO build> /dev/null
1313
# go into directory and copy data we're interested in to that directory
14+
cd build
15+
cp ../*.pdf .
1416
# add, commit and push files
15-
git add -f *.pdf
17+
git add -f .
1618
git commit -m "Travis build $TRAVIS_BUILD_NUMBER pushed to Build Branch"
1719
git push -fq origin HEAD:$BRANCH > /dev/null
1820
echo -e "Deploy completed\n"

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ all: admin cons contract crim equity land tort
33
travis: contract
44

55
admin: .template/template.tex openlex-admin/openlex-admin.md
6-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-admin/openlex-admin.md --latex-engine=xelatex --toc -o openlex-admin.pdf
6+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-admin/openlex-admin.md --latex-engine=xelatex --toc -o build/openlex-admin.pdf
77

88
cons: .template/template.tex openlex-cons/openlex-cons.md
9-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-cons/openlex-cons.md --latex-engine=xelatex --toc -o openlex-cons.pdf
9+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-cons/openlex-cons.md --latex-engine=xelatex --toc -o build/openlex-cons.pdf
1010

1111
contract: .template/template.tex openlex-contract/openlex-contract.md
12-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-contract/openlex-contract.md --latex-engine=xelatex --toc -o openlex-contract.pdf
12+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-contract/openlex-contract.md --latex-engine=xelatex --toc -o build/openlex-contract.pdf
1313

1414
crim: .template/template.tex openlex-crim/openlex-crim.md
15-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-crim/openlex-crim.md --latex-engine=xelatex --toc -o openlex-crim.pdf
15+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-crim/openlex-crim.md --latex-engine=xelatex --toc -o build/openlex-crim.pdf
1616

1717
equity: .template/template.tex openlex-equity/openlex-equity.md
18-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-equity/openlex-equity.md --latex-engine=xelatex --toc -o openlex-equity.pdf
18+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-equity/openlex-equity.md --latex-engine=xelatex --toc -o build/openlex-equity.pdf
1919

2020
land: .template/template.tex openlex-land/openlex-land.md
21-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-land/openlex-land.md --latex-engine=xelatex --toc -o openlex-land.pdf
21+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-land/openlex-land.md --latex-engine=xelatex --toc -o build/openlex-land.pdf
2222

2323
tort: .template/template.tex openlex-tort/openlex-tort.md
24-
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-tort/openlex-tort.md --latex-engine=xelatex --toc -o openlex-tort.pdf
24+
pandoc -N --template=.template/template.tex --variable fontsize=12pt openlex-tort/openlex-tort.md --latex-engine=xelatex --toc -o build/openlex-tort.pdf

0 commit comments

Comments
 (0)