github-pages-deploy-action/.github/workflows/integration.yml
James Ives 43ed8d1518
Integration Test Improvements (#116)
* Integration Test Improvements

* Formatting

* Update build.yml

* Change

* Update build.yml

* Update integration.yml

* More changes

* More more changes
2020-01-11 19:13:04 -05:00

60 lines
1.4 KiB
YAML

name: integration-tests
on:
schedule:
- cron: 10 15 * * 0-6
push:
branches:
- dev
pull_request:
branches:
- releases/v3
jobs:
integration-checkout-v1:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: integration
BASE_BRANCH: dev
TARGET_FOLDER: montezuma
integration-checkout-v2:
needs: checkout-v1
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: integration
BASE_BRANCH: dev
TARGET_FOLDER: montezuma2
integration-clean:
needs: [checkout-v1, checkout-v2]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: integration
BASE_BRANCH: dev
CLEAN: true