Skip to content

Commit 8175764

Browse files
committed
Merge branch 'master' into docs/add-folder-download-links
2 parents c3db0be + 55b06c7 commit 8175764

File tree

85 files changed

+29
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+29
-2
lines changed

.github/workflows/zip.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "zip"
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
8+
jobs:
9+
zip-and-release-folders:
10+
name: Zip and folders and create release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: zip folders
16+
run: find * -mindepth 1 -maxdepth 1 -type d -exec sh -c 'cd "$0" ; zip -r "../../`echo "$0" | tr / .`.zip" *' {} \;
17+
18+
- name: Get current date
19+
id: date
20+
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H.%M.%S')"
21+
22+
- name: release
23+
uses: softprops/action-gh-release@v2
24+
with:
25+
files: "*.zip"
26+
tag_name: ${{ steps.date.outputs.date }}

README.md

+1-1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

react/next.js/.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEXT_PUBLIC_APP_ID="<APP_ID>"

react/next.js/app/page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function Chat() {
3838
}, []);
3939

4040
return (
41-
<Session appId="<APP_ID>" syncUser={syncUser}>
41+
<Session appId={process.env.NEXT_PUBLIC_APP_ID} syncUser={syncUser}>
4242
<Chatbox
4343
syncConversation={syncConversation}
4444
style={{ width: "100%", height: "500px" }}

0 commit comments

Comments
 (0)