Skip to content

Run-SyncService

Run-SyncService #2

Workflow file for this run

name: Run-SyncService
on:
workflow_call:
inputs:
ghp:
required: false
type: string
default: '${{secrets.GIT_HUB_ACCESS_TOKEN}}'

Check failure on line 8 in .github/workflows/run-sync.yml

View workflow run for this annotation

GitHub Actions / Run-SyncService

Invalid workflow file

The workflow is not valid. .github/workflows/run-sync.yml (Line: 8, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GIT_HUB_ACCESS_TOKEN
workflow_dispatch:
jobs:
Sync:
runs-on: ubuntu-latest
steps:
- name: Call-Sync
run: |
curl -X POST https://api.github.com/repos/Xcube-Studio/Sync2Oss/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ inputs.ghp }}" \
--data '{"event_type": "FLPreview"}'