name: Trigger site rebuild

on: [push]

jobs:
    site-rebuild:
        runs-on: ubuntu-latest

        steps: [
        {
            name: 'Repository dispatch',
            uses: defold/repository-dispatch@1.2.1,
            with: {
                repo: 'defold/defold.github.io',
                token: '${{ secrets.SERVICES_GITHUB_TOKEN }}',
                user: 'services@defold.se',
                action: 'extension-websocket'
            }
        }]
