Skip to content

feat(backend,webapp): i18next JSON import + export (T301–T305) (#174) #29

feat(backend,webapp): i18next JSON import + export (T301–T305) (#174)

feat(backend,webapp): i18next JSON import + export (T301–T305) (#174) #29

Workflow file for this run

name: pages
on:
push:
branches: [master]
paths:
- 'docs/**'
- '.github/workflows/pages.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
name: Build (Jekyll + just-the-docs)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Build the downloadable ZIP BEFORE Jekyll so it ends up inside _site.
# The bundle contains every raw .md / .txt / image under docs/ so
# offline users can consume the full corpus without cloning.
- name: Build docs bundle (ZIP)
run: |
mkdir -p docs/downloads
(cd docs && zip -r downloads/translately-docs.zip . \
-x "downloads/*" "_site/*" "Gemfile*" "_config.yml")
ls -la docs/downloads/
- uses: actions/configure-pages@v5
- name: Build with Jekyll (remote_theme = just-the-docs)
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4