Skip to content

Commit dc00620

Browse files
authored
Use yarn postpublish instead of travis/craft for docs (getsentry#2586)
1 parent 49f29e1 commit dc00620

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.craft.yml

-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ targets:
2929
onlyIfPresent: /^sentry-node-.*\.tgz$/
3030
config:
3131
canonical: 'npm:@sentry/node'
32-
- name: gh-pages

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"lint": "lerna run --stream --concurrency 1 lint",
1212
"lint:json": "lerna run --stream --concurrency 1 lint:tslint:json",
1313
"test": "lerna run --stream --concurrency 1 --sort test",
14-
"codecov": "codecov"
14+
"codecov": "codecov",
15+
"postpublish": "make publish-docs"
1516
},
1617
"volta": {
1718
"node": "10.15.3",

scripts/pack-and-upload.sh

-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ zeus upload -t "application/javascript" ./packages/integrations/build/*
2020
# Upload "apm" bundles
2121
zeus upload -t "application/javascript" ./packages/apm/build/*
2222

23-
# Upload docs
24-
make build-docs
25-
zip -r gh-pages ./docs/
26-
zeus upload -t "application/zip+docs" ./gh-pages.zip

0 commit comments

Comments
 (0)