diff --git a/.github/workflows/release-preview.yaml b/.github/workflows/release-preview.yaml index fab982b789..5ca87214e5 100644 --- a/.github/workflows/release-preview.yaml +++ b/.github/workflows/release-preview.yaml @@ -16,7 +16,7 @@ env: ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }} ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} ALGOLIA_SEARCH_KEY: ${{ secrets.ALGOLIA_SEARCH_KEY }} - # The GATSBY_FULLSTORY_ORGID is removed so that preview builds don't get recorded in FullStory + concurrency: group: preview-${{ github.ref }} diff --git a/.github/workflows/version-branch-update.yaml b/.github/workflows/version-branch-update.yaml index 0b56875f28..a1f423d5c6 100644 --- a/.github/workflows/version-branch-update.yaml +++ b/.github/workflows/version-branch-update.yaml @@ -54,36 +54,35 @@ jobs: run: | make build - # - name: Post Netlify progress - # uses: mshick/add-pr-comment@v2 - # with: - # message: | - # 🤖 Starting the Netlify preview build for commit ${{ github.sha }}. This may take a few minutes. - # refresh-message-position: true - # update-only: true - - # - name: Netlify Build - # run: | - # make versions-ci - # netlify build --context deploy-preview - - - # - name: Deploy to Netlify - # id: netlify - # uses: nwtgck/actions-netlify@v2.1.0 - # with: - # publish-dir: ./build - # deploy-message: 'Manual Netlify deployment from GitHub Actions - ${{ github.sha }}' - # enable-pull-request-comment: true - # overwrites-pull-request-comment: true - # enable-commit-comment: true - - # - name: Post Netlify URL - # uses: mshick/add-pr-comment@v2 - # with: - # message: | - # 🚀 Netlify preview deployed succesfully for commit ${{ github.sha }}. Click [here](${{steps.netlify.outputs.deploy-url}}) to preview the changes. - # message-failure: | - # 👎 Uh oh! The Netlify Preview failed to deploy for commit ${{ github.sha }}. Please check the Netlify logs for more information. - # refresh-message-position: true - # update-only: true \ No newline at end of file + - name: Post Netlify progress + uses: mshick/add-pr-comment@v2 + with: + message: | + 🤖 Starting the Netlify preview build for commit ${{ github.sha }}. This may take a few minutes. + refresh-message-position: true + update-only: true + + - name: Netlify Build + run: | + netlify build --context deploy-preview + + + - name: Deploy to Netlify + id: netlify + uses: nwtgck/actions-netlify@v2.1.0 + with: + publish-dir: ./build + deploy-message: 'Manual Netlify deployment from GitHub Actions - ${{ github.sha }}' + enable-pull-request-comment: true + overwrites-pull-request-comment: true + enable-commit-comment: true + + - name: Post Netlify URL + uses: mshick/add-pr-comment@v2 + with: + message: | + 🚀 Netlify preview deployed succesfully for commit ${{ github.sha }}. Click [here](${{steps.netlify.outputs.deploy-url}}) to preview the changes. + message-failure: | + 👎 Uh oh! The Netlify Preview failed to deploy for commit ${{ github.sha }}. Please check the Netlify logs for more information. + refresh-message-position: true + update-only: true \ No newline at end of file diff --git a/scripts/netlify.sh b/scripts/netlify.sh index 39bce4e1bd..b0b4f8f90f 100755 --- a/scripts/netlify.sh +++ b/scripts/netlify.sh @@ -6,7 +6,7 @@ # List of branches to NOT create an automatic Netlify preview -disallowed_branches=("master" "release-*") +disallowed_branches=("master" "release-*" "version-*") # Get current branch name current_branch=$(git branch --show-current) diff --git a/src/components/MendableAIWidget/MendableAIWidget.tsx b/src/components/MendableAIWidget/MendableAIWidget.tsx index 5a0e7485b7..20c4b5313b 100644 --- a/src/components/MendableAIWidget/MendableAIWidget.tsx +++ b/src/components/MendableAIWidget/MendableAIWidget.tsx @@ -28,6 +28,7 @@ export default function MendableAIWidget() { anon_key: customFields?.mendableKey, type: "floatingButton", dialogPlaceholder: "What is Palette?", + welcomeMessage: "Ask me anything about Palette", cmdShortcutKey: "l", icon: logoUrl, botIcon: botUrl,