Skip to content

Commit 95032b2

Browse files
committed
Fixed before_deploy in Travis file
1 parent 37aa893 commit 95032b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ cache:
88
- $HOME/.cache/publishimo
99
before_deploy:
1010
- zip -9 -r bundle.zip dist
11-
- rm dist/readme.* dist/**/*.d.ts dist/**/*.map
11+
- ./node_modules/.bin/rimraf "dist/readme.*" "dist/**/*.d.ts" "dist/**/*.map"
1212
- zip -9 -r bundle-min.zip dist
1313
deploy:
1414
- provider: pages
1515
local-dir: dist-jsdoc/html
1616
fqdn: array-to-object-keys.jaid.codes
1717
skip-cleanup: true
18-
github-token: $GITHUB_TOKEN # https://github.com/settings/tokens
18+
github-token: $GITHUB_TOKEN # Permissions: public_repo, repo:status, repo_deployment
1919
- provider: releases
2020
files:
2121
- bundle.zip
2222
- bundle-min.zip
2323
skip-cleanup: true
24-
api-key: $GITHUB_TOKEN
24+
api-key: $GITHUB_TOKEN # Permissions: public_repo, repo:status, repo_deployment
2525
on: { tags: true }

0 commit comments

Comments
 (0)