Skip to content

Commit 066ab15

Browse files
authored
Merge pull request #381 from dunglas/debug-travis
Try to debug the deployment
2 parents 87ed22b + 5fac4ff commit 066ab15

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ script:
2222
- cd $TRAVIS_BUILD_DIR/../website
2323
- bin/generate-nav
2424
- yarn gatsby build
25+
# Preserve artifacts
26+
- cd $TRAVIS_BUILD_DIR
27+
- mv ../website/public public
2528

2629
deploy:
2730
provider: pages
2831
skip_cleanup: true
2932
github_token: $GITHUB_TOKEN
30-
local_dir: $TRAVIS_BUILD_DIR/../website/public
33+
local_dir: public
3134
fqdn: api-platform.com
3235
on:
3336
branch: 2.1

0 commit comments

Comments
 (0)