Popraviti korenj "plěn" v slovah "plen" i "pleniti" #14
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: Merge into Google Sheets | |
on: | |
pull_request: | |
types: [closed] | |
branches: [beta] | |
jobs: | |
push: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Important: This is required to get the full commit history | |
- name: Get changed files | |
id: the_changes | |
uses: tj-actions/changed-files@v36 | |
with: | |
files: | | |
synsets/**/*.xml | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: Push changes to Google Sheets | |
run: npx isv synsets push --only ${{ steps.the_changes.outputs.all_changed_files }} | |
env: | |
ISV_BETA: ${{ matrix.branch != 'stable' && 'true' || 'false' }} | |
ISV_DEBUG: 'true' | |
ISV_ENCRYPTION_KEY: ${{ secrets.ISV_ENCRYPTION_KEY }} | |
ISV_ENCRYPTION_IV: ${{ secrets.ISV_ENCRYPTION_IV }} | |
JWT_TOKEN: ${{ secrets.JWT_TOKEN }} | |
- name: Upload log file | |
uses: actions/upload-artifact@v2 | |
with: | |
name: database-engine-log | |
path: isv-*.log |