Skip to content

Commit

Permalink
Revert "Implemented workflow to deploy preview of pr changes"
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiral-Memory authored Sep 30, 2024
1 parent 05c0f2d commit 2a8f52d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 147 deletions.
138 changes: 0 additions & 138 deletions .github/workflows/ci-pr.yml

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ on:
branches:
- develop

permissions:
contents: write
pages: write
id-token: write

env:
STORYBOOK_RC_HOST: "https://demo.qa.rocket.chat"

jobs:
build-and-deploy:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write
pages: write
id-token: write

environment:
name: github-pages
url: "https://rocketchat.github.io/EmbeddedChat/"
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
url: "https://rocketchat.github.io/",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: process.env.BASEURL || "/EmbeddedChat/docs/",
baseUrl: "/EmbeddedChat/docs/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down
2 changes: 1 addition & 1 deletion packages/layout_editor/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export default defineConfig({
},
}),
],
base: process.env.BASE_URL || '/EmbeddedChat/layout_editor',
base: "/EmbeddedChat/layout_editor"
});

0 comments on commit 2a8f52d

Please sign in to comment.