diff --git a/.circleci/upload-preview.js b/.circleci/upload-preview.js
index <HASH>..<HASH> 100644
--- a/.circleci/upload-preview.js
+++ b/.circleci/upload-preview.js
@@ -18,7 +18,7 @@ if (!uploadFolder) {
 const uploadFolderName = path.basename(uploadFolder);
 let uploadURL = `${repo}-${prnum ? `pr-${prnum}` : prbranch}`
   .replace(/[\/|\.]/g, '-')
-  .replace('-master', '');
+  .replace('-main', '');
 
 if (uploadFolderName === '.out') {
   uploadURL += '-pf3';
fix(upload): use patternfly-react.surge.sh