mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update integration.yml
This commit is contained in:
parent
a82e78fb36
commit
8bc1c10da7
36
.github/workflows/integration.yml
vendored
36
.github/workflows/integration.yml
vendored
@ -10,8 +10,25 @@ on:
|
|||||||
- releases/v4
|
- releases/v4
|
||||||
|
|
||||||
jobs:
|
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.
|
# Deploys using checkout@v1 with an ACCESS_TOKEN.
|
||||||
integration-checkout-v1:
|
integration-checkout-v1:
|
||||||
|
needs: integration-cross-repo-push
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -112,26 +129,9 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branches: gh-pages
|
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.
|
# Deploys using an SSH key.
|
||||||
integration-ssh-third-party-client:
|
integration-ssh-third-party-client:
|
||||||
needs: integration-cross-repo-push
|
needs: integration-ssh
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
Loading…
Reference in New Issue
Block a user