Skip to content

Commit 068079b

Browse files
committed
maybe this then
1 parent e46cae4 commit 068079b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.travis.yml

Lines changed: 6 additions & 8 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,13 +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}
28-
provider: s3
29-
bucket: "compiler-explorer"
30-
skip_cleanup: true
31-
acl: public_read
32-
local_dir: out/dist/dist
33-
upload-dir: dist/cdn
30+
local_dir: out/dist-deploy
31+
upload-dir: dist
3432

3533
after_success: npm run codecov

0 commit comments

Comments
 (0)