Skip to content

Commit df7f1b4

Browse files
Merge pull request #631 from RocketChat/revert-620-feat/deploy-pr-previews
Revert "Implemented workflow to deploy preview of pr changes"
2 parents 05c0f2d + 2a8f52d commit df7f1b4

File tree

4 files changed

+7
-147
lines changed

4 files changed

+7
-147
lines changed

.github/workflows/ci-pr.yml

Lines changed: 0 additions & 138 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ on:
55
branches:
66
- develop
77

8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
813
env:
914
STORYBOOK_RC_HOST: "https://demo.qa.rocket.chat"
1015

1116
jobs:
1217
build-and-deploy:
1318
runs-on: ubuntu-latest
14-
15-
permissions:
16-
contents: write
17-
pull-requests: write
18-
pages: write
19-
id-token: write
20-
2119
environment:
2220
name: github-pages
2321
url: "https://rocketchat.github.io/EmbeddedChat/"

packages/docs/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const config = {
1717
url: "https://rocketchat.github.io/",
1818
// Set the /<baseUrl>/ pathname under which your site is served
1919
// For GitHub pages deployment, it is often '/<projectName>/'
20-
baseUrl: process.env.BASEURL || "/EmbeddedChat/docs/",
20+
baseUrl: "/EmbeddedChat/docs/",
2121

2222
// GitHub pages deployment config.
2323
// If you aren't using GitHub pages, you don't need these.

packages/layout_editor/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export default defineConfig({
1111
},
1212
}),
1313
],
14-
base: process.env.BASE_URL || '/EmbeddedChat/layout_editor',
14+
base: "/EmbeddedChat/layout_editor"
1515
});

0 commit comments

Comments
 (0)