Skip to content

Commit

Permalink
inject CircleCI config into gh-pages (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
elersong authored Feb 4, 2022
1 parent 7e701ac commit 8a1c0f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions concourse/scripts/publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,31 @@ cp -R ../doc/* ./
git config --global user.email "[email protected]"
git config --global user.name "Fauna, Inc"

echo "================================="
echo "Updating CircleCI to Ignore Build"
echo "================================="

mkdir .circleci
cat > config.yml <<- "EOF"
# No-op workflow for `gh-pages` branch
version: 2.1
jobs:
no-op:
docker:
- image: circleci/gh-pages
steps:
- checkout
workflows:
no-op:
jobs:
- no-op:
filters:
branches:
ignore:
- gh-pages
EOF

git add -A
git commit -m "Update docs to version: $PACKAGE_VERSION"

0 comments on commit 8a1c0f8

Please sign in to comment.