Update integration.yml

This commit is contained in:
James Ives 2021-02-05 22:56:31 -05:00 committed by GitHub
parent a82e78fb36
commit 8bc1c10da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,25 @@ on:
- releases/v4
jobs:
# Deploys cross repo with an access token.
integration-cross-repo-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
repository-name: JamesIves/lab
token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
folder: integration
single-commit: true
# Deploys using checkout@v1 with an ACCESS_TOKEN.
integration-checkout-v1:
needs: integration-cross-repo-push
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -112,26 +129,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branches: gh-pages
# Deploys cross repo with an access token.
integration-cross-repo-push:
needs: integration-ssh
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
repository-name: JamesIves/lab
token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
folder: integration
single-commit: true
# Deploys using an SSH key.
integration-ssh-third-party-client:
needs: integration-cross-repo-push
needs: integration-ssh
runs-on: ubuntu-latest
steps:
- name: Checkout