# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch

on:
  push:
    branches: [master]
  pull_request:
    branches: [master]
jobs:
  merge-branch:
    permissions:
      issues: write
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: everlytic/branch-merge@1.1.2
        with:
          github_token: ${{  secrets.GITHUB_TOKEN  }}
          source_ref: 'master'
          target_branch: 'gh-pages'

# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch

on:
  push:
    branches: [master]
jobs:
  merge-branch:
    permissions:
      issues: write
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: everlytic/branch-merge@1.1.2
        with:
          github_token: ${{  secrets.GITHUB_TOKEN  }}
          source_ref: 'master'
          target_branch: 'gh-pages'

Remove PR merge from workflow
Remove PR merge from workflow