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
e1d2fda81e
commit
1900e86712
6
.github/workflows/integration.yml
vendored
6
.github/workflows/integration.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user