mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-25 07:48:07 +03:00
Add i18n fallback and outdated warning, second attempt (#531)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user