Skip to content

Add FastAuth SDK Preview page #461

Add FastAuth SDK Preview page

Add FastAuth SDK Preview page #461

Workflow file for this run

name: Upload to Crowdin on PR merge
# only trigger on pull request closed events
on:
pull_request:
types: [ closed ]
workflow_dispatch:
jobs:
merge_job:
# this job will only run if the PR has been merged
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Upload Crowdin docs
run: |
echo PR #${{ github.event.number }} has been merged
cd website && npm install
npm run crowdin:sync
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}