Skip to content

fix github actions

fix github actions #5

Workflow file for this run

name: docs sync
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
sync-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: file_changes
uses: tj-actions/[email protected]
id: docs-changed
with:
files: |
docs/*
- name: Run step only when files change.
if: steps.docs-changed.outputs.any_changed == 'true'
run: |
curl -H "X-Fc-Invocation-Type: Async" http://index-devs-docs-sync-pejuvwkxqc.cn-hongkong.fcapp.run