Skip to content

Commit

Permalink
build: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Aug 12, 2023
1 parent 6eb38a9 commit fa0cfbf
Showing 3 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ jobs:
command: |
VERSION=$(cat ./artifacts/.version)
[[ ! $VERSION =~ "^[.0-9]+$" ]] && export PRERELEASE="--pre-release"
pnpx vsce publish -p "$VSCE_TOKEN" $PRERELEASE --packagePath "./artifacts/packages/vscode-extension/vlocode-${VERSION}.vsix" --githubBranch "$CIRCLE_BRANCH"
pnpx vsce publish -p "$VSCE_TOKEN" $PRERELEASE --packagePath "./artifacts/packages/vscode-extension/vlocode-${VERSION}.vsix"
publish-npm-packages:
docker:
- image: cimg/node:18.4-browsers
33 changes: 31 additions & 2 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
@@ -37,6 +37,35 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Generate Documentation
run: pnpm run docs

- name: Fix permissions
run: |
pnpm install
pnpm run docs
chmod -c -R +rX "docs/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs/

deploy:
needs: update-docs

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
"packages/salesforce/src/index.ts",
"packages/vlocity-deploy/src/index.ts"
],
"plugin": ["typedoc-plugin-resolve-crossmodule-references", "typedoc-plugin-rename-defaults"],
"plugin": ["typedoc-plugin-rename-defaults"],
"externalPattern": ["packages/vscode-extension/**/*", "packages/cli/**/*"],
"cname": "vlocode.curlybracket.nl",
"exclude": "*.test.ts",

0 comments on commit fa0cfbf

Please sign in to comment.