ci: allow ourselves to write to the public docs directory

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-07 01:04:53 -05:00
parent 8b3f629198
commit 6052c0c8a2
No known key found for this signature in database
4 changed files with 4 additions and 3 deletions

View file

@ -81,6 +81,7 @@ jobs:
bin/nix-build-and-cache just .#book bin/nix-build-and-cache just .#book
cp -r --dereference result public cp -r --dereference result public
chmod u+w -R public
- name: Upload generated documentation (book) as normal artifact - name: Upload generated documentation (book) as normal artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4

View file

@ -593,7 +593,7 @@
# Currently, conduwuit doesn't support inbound batched key requests, so # Currently, conduwuit doesn't support inbound batched key requests, so
# this list should only contain other Synapse servers. # this list should only contain other Synapse servers.
# #
# example: ["matrix.org", "envs.net", "constellatory.net", "tchncs.de"] # example: ["matrix.org", "envs.net", "tchncs.de"]
# #
#trusted_servers = ["matrix.org"] #trusted_servers = ["matrix.org"]

View file

@ -48,7 +48,7 @@ pub(crate) async fn upload_keys_route(
?key_id, ?key_id,
?one_time_key, ?one_time_key,
"Invalid one time key JSON submitted by client, skipping: {e}" "Invalid one time key JSON submitted by client, skipping: {e}"
) );
}) })
.is_err() .is_err()
{ {

View file

@ -713,7 +713,7 @@ pub struct Config {
/// Currently, conduwuit doesn't support inbound batched key requests, so /// Currently, conduwuit doesn't support inbound batched key requests, so
/// this list should only contain other Synapse servers. /// this list should only contain other Synapse servers.
/// ///
/// example: ["matrix.org", "envs.net", "constellatory.net", "tchncs.de"] /// example: ["matrix.org", "envs.net", "tchncs.de"]
/// ///
/// default: ["matrix.org"] /// default: ["matrix.org"]
#[serde(default = "default_trusted_servers")] #[serde(default = "default_trusted_servers")]