Skip to content

Commit

Permalink
Define on property on deploy hidden service
Browse files Browse the repository at this point in the history
Add translation on crowdin file
  • Loading branch information
RikThePixel committed Jan 31, 2024
1 parent b44c58d commit 6c60fe8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-hidden-service.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: "Deploy hidden service"

on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
25 changes: 19 additions & 6 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,22 @@ preserve_hierarchy: true
#
# Files configuration
#
files: [
{ "source": "/src/pages/en/**/*.mdx" },
{ "source": "/src/pages/404.mdx" },
{ "source": "/src/assets/data/pages/en/**/*.json" },
{ "source": "/src/assets/data/layout/en/**/*.json" }
]
files:
[
{
"source": "/src/pages/en/**/*.mdx",
translation: "/src/pages/%two_letters_code%/**/%file_name%.mdx",
},
{
"source": "/src/pages/404.mdx",
translation: "/src/pages/404_%two_letters_code%.mdx",
},
{
"source": "/src/assets/data/pages/en/**/*.json",
translation: "/src/assets/data/pages/%two_letters_code%/**/%file_name%.json",
},
{
"source": "/src/assets/data/layout/en/**/*.json",
translation: "/src/assets/data/layout/%two_letters_code%/**/%file_name%.json",
},
]

0 comments on commit 6c60fe8

Please sign in to comment.