From 089a11dc49e6346759038da3b885de07f3626ff3 Mon Sep 17 00:00:00 2001 From: Will King Date: Fri, 5 Mar 2021 02:59:33 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..164a5df --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,14 @@ +# This is an example Starter pipeline configuration +# Use a skeleton to build, test and deploy using manual and parallel steps +# ----- +# You can specify a custom docker image from Docker Hub as your build environment. + +pipelines: + default: + - step: + name: Build and Upload PDF + script: + - latexmk -pdf main.tex + - curl -X POST "https://${BB_AUTH_STRING}@api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"main.pdf" + artifacts: + - main.pdf