diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml new file mode 100644 index 0000000..79fd565 --- /dev/null +++ b/.buildkite/pipeline.yaml @@ -0,0 +1,25 @@ +steps: + + - label: ":md: Publish test blog" + branches: !master + command: + - "echo 'baseurl: \"/jekyll-theme-guardian/${BUILDKITE_BUILD_NUMBER}/_site\"' >> _config_test.yml" + - "bundle install" + - "bundle exec jekyll build --drafts --config _config.yml,_config_test.yml" + agents: + queue: builder + artifact_paths: "_site/**/*" + plugins: + - docker#v3.5.0: + image: "ruby:2.6.3" + always-pull: true + + - wait + + - label: ":console: Annotate test blog link" + command: | + cat << EOF | buildkite-agent annotate --style "success" +
+ EOF + agents: + queue: builder diff --git a/.gitignore b/.gitignore index ca9dacd..45e8ddf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ _site -_posts .sass-cache .jekyll-metadata .DS_Store diff --git a/_config_test.yml b/_config_test.yml new file mode 100644 index 0000000..6def8fb --- /dev/null +++ b/_config_test.yml @@ -0,0 +1,5 @@ +# overrides for test deploy +url: https://buildkite.yden.us +guardian: + tracking: + google_analytics_code: "" diff --git a/_posts/2020-07-13-hello-world.md b/_posts/2020-07-13-hello-world.md new file mode 100644 index 0000000..11e9710 --- /dev/null +++ b/_posts/2020-07-13-hello-world.md @@ -0,0 +1,8 @@ +--- +layout: post +title: "Hello World!" +date: 2020-07-13 12:37:44 -0500 +categories: news +author: Dan Beghin +--- +This is a test blog post for jekyll-theme-guardian.