Update integration.yml

This commit is contained in:
James Ives 2020-01-11 19:24:34 -05:00
parent e1d2fda81e
commit 1900e86712

View File

@ -11,6 +11,7 @@ on:
- releases/v3
jobs:
# Deploys using checkout@v1 with an ACCESS_TOKEN.
integration-checkout-v1:
runs-on: ubuntu-latest
steps:
@ -26,6 +27,7 @@ jobs:
BASE_BRANCH: dev
TARGET_FOLDER: montezuma
# Deploys using checkout@v2 with a GITHUB_TOKEN.
integration-checkout-v2:
needs: integration-checkout-v1
runs-on: ubuntu-latest
@ -36,12 +38,13 @@ jobs:
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: integration
BASE_BRANCH: dev
TARGET_FOLDER: montezuma2
# Deploys using the CLEAN option.
integration-clean:
needs: [integration-checkout-v1, integration-checkout-v2]
runs-on: ubuntu-latest
@ -58,6 +61,7 @@ jobs:
BASE_BRANCH: dev
CLEAN: true
# Deploys to a branch that doesn't exist.
integration-branch-creation:
needs: [integration-checkout-v1, integration-checkout-v2]
runs-on: ubuntu-latest