Skip to content

Commit

Permalink
ci: update to the backport post-PRs CI/CD (#1584) (#1587)
Browse files Browse the repository at this point in the history
* ci: update to the backport post-PRs CI/CD

* docs: update help text in mendable

(cherry picked from commit 0e9870d)

Co-authored-by: Karl Cardenas <[email protected]>
  • Loading branch information
1 parent 7d64931 commit a75b81f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
65 changes: 32 additions & 33 deletions .github/workflows/version-branch-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
# 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
- 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/[email protected]
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
2 changes: 1 addition & 1 deletion scripts/netlify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/components/MendableAIWidget/MendableAIWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a75b81f

Please sign in to comment.