Skip to content

Commit

Permalink
Ci deploy docs (#743)
Browse files Browse the repository at this point in the history
* ci: ci-deploy-docs

* ci: ci-deploy-docs

* ci: ci-deploy-docs

* ci: ci-deploy-docs

* ci: ci-deploy-docs

* ci: ci-deploy-docs

* ci: ci-deploy-docs
  • Loading branch information
belgattitude authored Nov 25, 2023
1 parent f7fb9d1 commit 98f91b5
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 1,059 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
contents: read

jobs:
build-docs-and-deploy:
build-and-deploy-docs-website:
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -46,6 +46,6 @@ jobs:
if: ${{ github.repository == 'belgattitude/httpx' && contains('refs/heads/main',github.ref)}}
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy -- -u "github-actions-bot <[email protected]>"
yarn deploy:website -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"g:ci-coverage-upload": "yarn workspaces foreach --all -tv run ci-coverage-upload",
"clean:lint": "rimraf ./.cache/eslint",
"clean:global-cache": "rimraf ./.cache",
"deploy:website": "gh-pages -d ./docs/out -t true",
"deps:check": "npx npm-check-updates@latest --configFileName ncurc.yml --deep",
"deps:update": "npx npm-check-updates@latest --configFileName ncurc.yml -u --deep",
"docs:serve": "docsify serve ./docs",
"check:install": "yarn dlx @yarnpkg/[email protected] .",
"postinstall": "is-ci || yarn husky install",
"syncpack:format": "syncpack format",
Expand All @@ -56,9 +56,8 @@
"@types/prettier": "2.7.3",
"@types/shell-quote": "1.7.5",
"cross-env": "7.0.3",
"docsify": "4.13.1",
"docsify-cli": "4.4.4",
"eslint": "8.54.0",
"gh-pages": "6.1.0",
"husky": "8.0.3",
"is-ci": "3.0.1",
"lint-staged": "15.1.0",
Expand Down
Loading

0 comments on commit 98f91b5

Please sign in to comment.