diff --git a/.circleci/config.yml b/.circleci/config.yml index b1cf1351..a5ff3b18 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,6 @@ # See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 -orbs: - gh-pages: sugarshin/gh-pages@1.0.1 - # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs jobs: @@ -50,12 +47,13 @@ jobs: workflows: build-docs-workflow: jobs: - - build-docs - - gh-pages/deploy: - attach-workspace: true - git-email: ci-build@pta2002.com - git-user: ci-build - ssh-fingerprints: e6:0d:b3:76:76:d9:e3:93:31:24:a6:49:d7:a2:8f:a3 - build-dir: doc - workspace-root: . - \ No newline at end of file + - build-docs: + filters: + branches: + only: main + - docs-deploy: + requires: + - build-docs + filters: + branches: + only: main \ No newline at end of file