Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/hirpc-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ name: hiRPC Resources
on:
pull_request:
branches:
- dev
types: [labeled]
- main
paths:
- "hirpc/**/*.json"
- "hirpc/**/*.js"
- "hirpc/**/*.ts"
types:
- opened
- labeled
- synchronize

jobs:
hirpc_build:
if: contains(github.event.label.name, 'ci:ready')
if: contains(join(github.event.pull_request.labels.*.name, ','), 'ci:ready')
name: hiRPC Build
runs-on: ubuntu-latest
defaults:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hirpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: hiRPC
on:
push:
branches:
- dev
- main
paths:
- "hirpc/**/*.json"
- "hirpc/**/*.js"
- "hirpc/**/*.ts"
pull_request:
branches:
- dev
- main
paths:
- "hirpc/**/*.json"
- "hirpc/**/*.js"
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/unity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,25 @@ name: Unity
on:
push:
branches:
- dev
- main
paths:
- "unity/**/*.cs"
pull_request:
branches:
- dev
- main
paths:
- "unity/**/*.cs"
types:
- opened
- labeled
- synchronize

jobs:
unity_tests:
if: >
github.event_name == 'push' ||
(github.event_name == 'pull_request' &&
contains(join(github.event.pull_request.labels.*.name, ','), 'ci:ready'))
name: Unity Tests
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Website

# For development, the site will be updated on pushes to the dev branch.

on:
push:
branches:
- dev
- main
paths:
- "website/**/*.ts"
- "website/**/*.tsx"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

> [!NOTE]
> Looking for version 1? See the [v1 branch](https://github.com/Furnyr/Dissonity/tree/v1).

<div align="center">
<a href="https://dissonity.dev" alt="a"><img src="https://i.imgur.com/AmGkPpE.png" width="650"></a>
</div>
Expand Down
8 changes: 4 additions & 4 deletions website/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const COPY_BUTTON_PADDING = "10px";
export const COPY_BUTTON_PADDING_MOBILE = "8.5px";
export const GITHUB_LINK = "https://github.com/Furnyr/Dissonity/tree/v2";
export const GITHUB_LINK = "https://github.com/Furnyr/Dissonity/";
export const GITHUB_NODE_LINK = "https://github.com/Furnyr/Dissonity-Examples/tree/main/basic-node-server";
export const GITHUB_CONTRIBUTORS_LINK = "https://github.com/Furnyr/Dissonity/blob/v2/CONTRIBUTING.md";
export const GITHUB_FILE_EXAMPLES_LINK = "https://github.com/Furnyr/Dissonity/tree/v2/examples/files";
export const GITHUB_LOCAL_AUTOMATION_LINK = "https://github.com/Furnyr/Dissonity/tree/v2/local-automation";
export const GITHUB_CONTRIBUTORS_LINK = "https://github.com/Furnyr/Dissonity/blob/main/CONTRIBUTING.md";
export const GITHUB_FILE_EXAMPLES_LINK = "https://github.com/Furnyr/Dissonity-Examples/tree/main/files";
export const GITHUB_LOCAL_AUTOMATION_LINK = "https://github.com/Furnyr/Dissonity/tree/main/local-automation";
export const DEFAULT_TITLE = "Dissonity - Create Discord activities with Unity";
2 changes: 1 addition & 1 deletion website/src/routes/docs/internals/hirpc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ main();`}</CodeBlock>
<i>Example index.ts using @dissonity/hirpc-kit</i>

<p>
You can find further examples in the repository's <a href={GITHUB_FILE_EXAMPLES_LINK} target="_blank">examples folder</a>.
You can find further examples in the example repository's <a href={GITHUB_FILE_EXAMPLES_LINK} target="_blank">files folder</a>.
</p>

<h2 id="final-terminology">Final Terminology <HashLink link="/?/docs/v2/internals/hirpc#final-terminology" /></h2>
Expand Down