-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tabs CI cleanup, remove extra deps update deps incl. insiders
- Loading branch information
Showing
9 changed files
with
114 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
name: 🚧 Website MkDocs | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'website/**' | ||
- '.github/workflows/website.yml' | ||
push: | ||
branches: | ||
- master | ||
# - website* | ||
- website* | ||
paths: | ||
- 'website/**' | ||
- '.github/workflows/website.yml' | ||
|
@@ -18,7 +24,7 @@ defaults: | |
working-directory: website | ||
|
||
jobs: | ||
deploy: | ||
website: | ||
runs-on: ubuntu-latest | ||
# Skip if this job was scheduled and the runner belongs to a fork (i.e. forks have no use for this action) | ||
if: (github.event_name == 'schedule' && github.repository == 'opengisch/QField-docs') || (github.event_name != 'schedule') | ||
|
@@ -47,14 +53,13 @@ jobs: | |
tar -xvzf tx-linux-amd64.tar.gz | ||
- name: Configure Transifex | ||
run: | | ||
python ./utils/transifex_utils.py | ||
run: scripts/transifex_utils.py | ||
env: | ||
TX_TOKEN: ${{ secrets.TX_TOKEN }} | ||
|
||
- name: Push source files to Transifex | ||
run: | | ||
./tx push | ||
if: ${{ github.event_name == 'push' }} | ||
run: ./tx push | ||
env: | ||
TX_TOKEN: ${{ secrets.TX_TOKEN }} | ||
|
||
|
@@ -77,7 +82,15 @@ jobs: | |
unzip -q signalo-${LATEST_RELEASE}-model-documentation.zip | ||
cp -r model-documentation site/ | ||
- uses: actions/upload-artifact@v4 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
with: | ||
name: website | ||
path: website/site | ||
if-no-files-found: error | ||
|
||
- name: Deploy to GitHub Pages | ||
if: ${{ github.event_name == 'push' }} | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,50 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_desktop] | ||
file_filter = documentation/desktop.<lang>.md | ||
source_file = documentation/desktop.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_roadmap] | ||
file_filter = documentation/roadmap.<lang>.md | ||
source_file = documentation/roadmap.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_mobile] | ||
file_filter = documentation/mobile.<lang>.md | ||
source_file = documentation/mobile.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_installation] | ||
file_filter = documentation/installation.<lang>.md | ||
source_file = documentation/installation.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_home] | ||
file_filter = documentation/index.<lang>.md | ||
source_file = documentation/index.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_datamodel-doc] | ||
file_filter = documentation/datamodel-doc.<lang>.md | ||
source_file = documentation/datamodel-doc.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_data-model] | ||
file_filter = documentation/data-model.<lang>.md | ||
source_file = documentation/data-model.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN | ||
|
||
[o:opengisch:p:signalo-website:r:documentation_contribute] | ||
file_filter = documentation/contribute.<lang>.md | ||
source_file = documentation/contribute.fr.md | ||
source_lang = fr | ||
type = GITHUBMARKDOWN |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# mkdocs-material-8.5.4 (2022-09-30) at https://github.com/opengisch/mkdocs-material-insiders/commit/425df60910d649d80505851dc2fd3d240cd65e73 | ||
git+https://${GH_TOKEN_INSIDER}@github.com/opengisch/mkdocs-material-insiders@425df60910d649d80505851dc2fd3d240cd65e73#egg=mkdocs-material | ||
git+https://${GH_TOKEN_INSIDER}@github.com/opengisch/[email protected]#egg=mkdocs-material |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
mkdocs-material==8.5.4 | ||
mkdocs-video==1.3.0 | ||
mkdocs-material==9.5.9 | ||
mkdocs-video==1.5.0 | ||
mkdocs-static-i18n @ git+https://github.com/kamilkrzyskow/i18n.git@5de82f096531adfaf7990da89002fe6cb207ca7a | ||
fancyboxmd==1.1.0 | ||
PyGithub==1.55 | ||
python-dotenv==0.19.2 | ||
python-frontmatter==1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters