Skip to content

Commit

Permalink
Merge branch 'dev' into releases/v4
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 6, 2024
2 parents 94f3c65 + 21b07c0 commit 9e7ec1e
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
folder: integration
target-folder: cat/montezuma2
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand Down Expand Up @@ -109,6 +111,8 @@ jobs:
folder: integration
target-folder: cat/montezuma2
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand All @@ -133,6 +137,8 @@ jobs:
folder: integration
target-folder: cat/montezuma3
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand Down Expand Up @@ -162,6 +168,8 @@ jobs:
folder: integration
target-folder: cat/montezuma4
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand Down Expand Up @@ -189,6 +197,8 @@ jobs:
folder: integration
target-folder: cat/montezuma4
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@v4
Expand All @@ -197,6 +207,8 @@ jobs:
folder: integration
target-folder: cat/subsequent
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand Down Expand Up @@ -229,6 +241,8 @@ jobs:
folder: integration
clean: true
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

# Deploys to a branch that doesn't exist with SINGLE_COMMIT. (Includes subsequent commit)
integration-branch-creation:
Expand All @@ -248,6 +262,8 @@ jobs:
folder: integration
single-commit: true
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@v4
Expand All @@ -258,6 +274,8 @@ jobs:
single-commit: true
target-folder: jives
silent: true
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v3.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Label Pull Requests 🏷️

on:
pull_request:
types: [opened, reopened, labeled, unlabeled]
types: [opened, reopened, labeled, unlabeled, synchronize]

permissions:
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
with:
branch: dev
folder: '.'
git-config-name: Montezuma
git-config-email: montezuma@jamesiv.es
3 changes: 2 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- uses: nowactions/update-majorver@v1.1.2

update-registries:
name: Publish to Registries 📦
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -64,4 +65,4 @@ jobs:
# Publish to GitHub Packages
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('main', () => {
it('should run through the commands', async () => {
Object.assign(action, {
repositoryPath: 'JamesIves/github-pages-deploy-action',
folder: '.github/assets',
folder: '.github/docs',
branch: 'branch',
token: '123',
hostname: 'github.com',
Expand All @@ -62,7 +62,7 @@ describe('main', () => {
Object.assign(action, {
hostname: 'github.com',
repositoryPath: 'JamesIves/github-pages-deploy-action',
folder: '.github/assets',
folder: '.github/docs',
branch: 'branch',
token: '123',
sshKey: true,
Expand All @@ -81,7 +81,7 @@ describe('main', () => {
it('should throw if an error is encountered', async () => {
Object.assign(action, {
hostname: 'github.com',
folder: '.github/assets',
folder: '.github/docs',
branch: 'branch',
token: null,
sshKey: null,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <iam@jamesiv.es> (https://jamesiv.es)",
"version": "4.6.1",
"version": "4.6.3",
"license": "MIT",
"main": "lib/lib.js",
"types": "lib/lib.d.ts",
Expand Down

0 comments on commit 9e7ec1e

Please sign in to comment.