diff --git a/.circleci/circle_urls.sh b/.circleci/circle_urls.sh deleted file mode 100755 index 63dcfc3..0000000 --- a/.circleci/circle_urls.sh +++ /dev/null @@ -1,4 +0,0 @@ -REPO_ID=$(curl https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} | jq --raw-output '.id') -echo "Repo ID is ${REPO_ID}" -BASEURL=https://${CIRCLE_BUILD_NUM}-${REPO_ID}-gh.circle-artifacts.com/0/${CIRCLE_PROJECT_REPONAME} -sed -i "18 s,.*,baseurl: $BASEURL,g" "_config.yml" diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index b72b1cd..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,47 +0,0 @@ -# Circle configuration to preview the opencontainers/org site as artifact - -version: 2 -jobs: - build: - docker: - - image: circleci/ruby:2.4.1 - working_directory: ~/repo - environment: - - JEKYLL_ENV: production - - NOKOGIRI_USE_SYSTEM_LIBRARIES: true - - BUNDLE_PATH: ~/repo/vendor/bundle - steps: - - checkout - - restore_cache: - keys: - - rubygems-v1 - - run: - name: Bundle Install - command: | - cd ~/repo/docs - bundle check || bundle install - - save_cache: - key: rubygems-v1 - paths: - - vendor/bundle - - run: - name: Jekyll Build - command: | - echo "Building Container Magic!" - mv ~/repo/.circleci/circle_urls.sh ~/repo/docs/circle_urls.sh - cd ~/repo/docs - chmod u+x circle_urls.sh - bash circle_urls.sh - bundle exec jekyll build - - store_artifacts: - path: ~/repo/docs/_site - destination: org - -workflows: - version: 2 - build-site: - jobs: - - build: - filters: - branches: - ignore: master