feat - create page by action to verify status - (TEST) #10
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@v3 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20' | ||
- run: | | ||
Check failure on line 35 in .github/workflows/status-translation.yml GitHub Actions / status-translationInvalid workflow file
|
||
npm install | ||
npm run verify-translation | ||
echo ${{GITHUB_REF#refs/heads/}} | ||
git checkout ${{GITHUB_REF#refs/heads/}} | ||
git config --global user.name ${{ github.event.commits[0].author.name }} | ||
git config --global user.email "carlosstenzel@hotmail.com" | ||
git add . | ||
git status | ||
git commit -m "generated" | ||
git push | ||