feat - create page by action to verify status - (TEST) #20
Workflow file for this run
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
name: status-translation | |
on: | |
pull_request: | |
branches: | |
- gh-pages | |
paths: | |
- 'en/**' | |
- 'de/**' | |
- 'es/**' | |
- 'fr/**' | |
- 'it/**' | |
- 'ja/**' | |
- 'ko/**' | |
- 'pt-br/**' | |
- 'ru/**' | |
- 'sk/**' | |
- 'th/**' | |
- 'tr/**' | |
- 'uk/**' | |
- 'uz/**' | |
- 'zh-cn/**' | |
- 'zh-tw/**' | |
jobs: | |
verify-translation: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Display event name | |
run: echo "github.event_name=${{ github.event_name }}" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: | | |
npm install | |
npm run verify-translation | |
git config --global user.name 'Carlos Stenzel' | |
git config --global user.email "[email protected]" | |
git add . | |
git status | |
git commit -m "generated" | |
git push | |