Skip to content

feat: workflow setup #8

feat: workflow setup

feat: workflow setup #8

name: Trigger gluestack-style-website | Create PR when pushed to master
on:
# push:
# branches:
# - test-git-action
pull_request:

Check failure on line 7 in .github/workflows/trigger-ui-update-docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger-ui-update-docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
types: [opened, reopened],
branches:
- test-git-action
# Added commentjknbkjbjhbjhbjhb
jobs:
build:
name: Dispatch to 'gluestack-style-website'
runs-on: ubuntu-latest
steps:
- name: Emit repository_dispatch
uses: mvasigh/dispatch-action@main
with:
# You should create a personal access token and store it in your repository
token: ${{ secrets.MY_GITHUB_TOKEN }}
repo: ui-website
owner: gluestack
event_type: build_ui_docs
message: |
{
"repo": "ui",
"branch": "${{ github.head_ref }}"
}