Skip to content

Export Schema

Export Schema #3

Workflow file for this run

name: Export Schema
on:
schedule:
- cron: '41 9 * * *'
workflow_dispatch:
jobs:
export:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
defaults:
run:
working-directory: ./exporter
strategy:
matrix:
environment: [development, production]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
cache-dependency-path: exporter/yarn.lock
- run: yarn install --frozen-lockfile
- name: Export schema for environment
env:
- CKTOOL_MGMT_TOKEN: ${{ secrets.CKTOOL_MGMT_TOKEN }}

Check failure on line 37 in .github/workflows/export.yml

View workflow run for this annotation

GitHub Actions / Export Schema

Invalid workflow file

The workflow is not valid. .github/workflows/export.yml (Line: 37, Col: 9): A sequence was not expected
- TEAM_ID: ${{ secrets.TEAM_ID }}
- CONTAINER_ID: ${{ secrets.CONTAINER_ID }}
run: yarn start ${{ matrix.environment }}
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Export schema
file_pattern: '*.ckdb'