stvarno → stvaŕno; stvarnost́ → stvaŕnost́ #43
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_target: | |
types: [closed] | |
branches: [main] | |
jobs: | |
push: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: the_changes | |
uses: tj-actions/changed-files@v45 | |
with: | |
files: | | |
synsets/**/*.xml | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: Push changes to Google Sheets | |
id: push_changes | |
continue-on-error: true | |
run: | | |
npx isv synsets push --partial --only ${{ steps.the_changes.outputs.all_changed_files }} | |
env: | |
ISV_DEBUG: 'true' | |
ISV_ENCRYPTION_KEY: ${{ secrets.ISV_ENCRYPTION_KEY }} | |
ISV_ENCRYPTION_IV: ${{ secrets.ISV_ENCRYPTION_IV }} | |
ISV_NOTE: ${{ github.event.pull_request.body }} | |
JWT_TOKEN: ${{ secrets.JWT_TOKEN }} | |
- name: Upload log file | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: database-engine-log | |
path: isv-*.log | |
- name: Check push result | |
if: steps.push_changes.outcome == 'failure' | |
run: exit 1 |