Spin up a live branch link for QA! Used in conjunction with live-qa-app
token
= Point to a GitHub token with environment access (GITHUB.TOKEN does work)url
= Point to the URL for this action step
name: Build Live QA Environment
on:
pull_request:
types: [opened]
jobs:
live_qa:
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request Branch
uses: actions/checkout@v2
- uses: https://github.com/BreezeChMS/live-qa-action
with:
token: ${{ GITHUB.TOKEN }}
url: http://hopingthis.works:9000/hooks/new
name: Update Live QA Environment
on:
pull_request:
types: [synchronize]
jobs:
live_qa:
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request Branch
uses: actions/checkout@v2
- uses: https://github.com/BreezeChMS/live-qa-action
with:
token: ${{ GITHUB.TOKEN }}
url: http://hopingthis.works:9000/hooks/sync
name: Delete Live QA Environment
on:
pull_request:
types: [closed]
jobs:
live_qa:
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request Branch
uses: actions/checkout@v2
- uses: https://github.com/BreezeChMS/live-qa-action
with:
token: ${{ GITHUB.TOKEN }}
url: http://hopingthis.works:9000/hooks/delete