Skip to content

Commit d6b87ba

Browse files
Jake ChampionJakeChampion
authored andcommitted
deploy docs app and files when publishing a new version of the sdk
1 parent 1a9b9d5 commit d6b87ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ jobs:
9999
- run: npm run docs
100100
if: ${{ steps.release.outputs.release_created }}
101101

102-
- run: npx @fastly/compute-js-static-publish@2 --public-dir=./reference-docs --name js-compute-reference-docs --service-id 1B3wrEgiLdTaCjsmK5Jq25 --description '@fastly/js-compute reference documentation'
102+
- run: cd ./docs-app && npm i
103103
if: ${{ steps.release.outputs.release_created }}
104104

105-
- run: cd ./compute-js && fastly compute publish
105+
- run: cd ./docs-app && npm run deploy
106106
if: ${{ steps.release.outputs.release_created }}
107107
env:
108-
FASTLY_API_TOKEN: ${{secrets.FASTLY_API_TOKEN}}
108+
FASTLY_TOKEN: ${{secrets.FASTLY_API_TOKEN}}

0 commit comments

Comments
 (0)