Skip to content

Commit b788e75

Browse files
authored
Merge pull request compiler-explorer#1571 from mattgodbolt/disttest
Distribute js/css to s3
2 parents dd2b414 + 068079b commit b788e75

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ script:
1414
- make changelog
1515
- make policies
1616
- make -j$(nproc) travis-dist
17+
- mkdir -p out/dist-deploy/travis/${TRAVIS_BRANCH}
18+
- mkdir -p out/dist-deploy/cdn
19+
- cp -R out/dist-bin/* out/dist-deploy/travis/${TRAVIS_BRANCH}
20+
- cp -R out/dist/dist/* out/dist-deploy/cdn
1721

1822
deploy:
1923
on:
@@ -23,7 +27,7 @@ deploy:
2327
bucket: "compiler-explorer"
2428
skip_cleanup: true
2529
acl: public_read
26-
local_dir: out/dist-bin
27-
upload-dir: dist/travis/${TRAVIS_BRANCH}
30+
local_dir: out/dist-deploy
31+
upload-dir: dist
2832

2933
after_success: npm run codecov

0 commit comments

Comments
 (0)