-
-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
67 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
name: Integration Tests 🧪 | ||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: 'Specifies the branch which the integration tests should run on.' | ||
required: true | ||
default: 'releases/v4' | ||
schedule: | ||
- cron: 30 15 * * 0-6 | ||
push: | ||
tags-ignore: | ||
- '*.*' | ||
branches: | ||
- releases/v4 | ||
|
||
jobs: | ||
# Deploys cross repo with an access token. | ||
integration-cross-repo-push: | ||
container: node:16.13 | ||
runs-on: ubuntu-latest | ||
|
@@ -40,7 +30,6 @@ jobs: | |
clean: true | ||
silent: true | ||
|
||
# Deploys using checkout@v1 with an ACCESS_TOKEN. | ||
integration-checkout-v1: | ||
needs: integration-cross-repo-push | ||
runs-on: ubuntu-latest | ||
|
@@ -62,8 +51,8 @@ jobs: | |
uses: dawidd6/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branches: gh-pages | ||
|
||
# Deploys using checkout@v2 with a GITHUB_TOKEN. | ||
integration-checkout-v2: | ||
needs: integration-checkout-v1 | ||
runs-on: ubuntu-latest | ||
|
@@ -86,6 +75,7 @@ jobs: | |
uses: dawidd6/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branches: gh-pages | ||
|
||
# Deploys using a container that requires you to install rsync. | ||
integration-container: | ||
|
@@ -340,3 +330,32 @@ jobs: | |
owner: MontezumaIves | ||
repository: lab | ||
branches: gh-pages | ||
|
||
integration-root-folder: | ||
needs: integration-rebase-conflicts-cleanup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Echo | ||
working-directory: integration | ||
run: | | ||
echo "Here" | ||
- name: Build and Deploy | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: . | ||
target-folder: cat/montezuma5 | ||
silent: true | ||
git-config-name: Montezuma | ||
git-config-email: [email protected] | ||
|
||
- name: Cleanup Generated Branch | ||
uses: dawidd6/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branches: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,13 @@ jobs: | |
steps: | ||
- uses: nowactions/[email protected] | ||
|
||
call-integration-workflow: | ||
name: Verify Major Tag 🚀 | ||
needs: update-majorver | ||
uses: ./.github/workflows/integration.yml | ||
|
||
update-registries: | ||
needs: call-integration-workflow | ||
name: Publish to Registries 📦 | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@jamesives/github-pages-deploy-action", | ||
"description": "GitHub action for building a project and deploying it to GitHub pages.", | ||
"author": "James Ives <[email protected]> (https://jamesiv.es)", | ||
"version": "4.6.5", | ||
"version": "4.6.7", | ||
"license": "MIT", | ||
"main": "lib/lib.js", | ||
"types": "lib/lib.d.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters