Add i18n fallback and outdated warning, second attempt (#531)

This commit is contained in:
mmmray
2024-07-16 11:41:40 +02:00
committed by GitHub
parent 1db2e57990
commit 3c07ea5213
4 changed files with 72 additions and 0 deletions
+5
View File
@@ -3,6 +3,9 @@ on:
push:
branches:
- main
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
@@ -36,6 +39,7 @@ jobs:
pnpm install
yarn docs:build
- name: Deploy
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -47,6 +51,7 @@ jobs:
run: |
yarn docs:build
- name: Deploy to main Repository
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACTION_PERSONAL_TOKEN }}