Socket
Socket
Sign inDemoInstall

github-pages-deploy-action

Package Overview
Dependencies
59
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.10 to 3.5.1

8

__tests__/git.test.ts

@@ -6,3 +6,3 @@ // Initial env variable setup for tests.

import {mkdirP, rmRF} from '@actions/io'
import {action} from '../src/constants'
import {action, Status} from '../src/constants'
import {execute} from '../src/execute'

@@ -342,3 +342,3 @@ import {deploy, generateBranch, init, switchToBaseBranch} from '../src/git'

await deploy(action)
const response = await deploy(action)

@@ -348,2 +348,3 @@ // Includes the call to generateBranch

expect(rmRF).toBeCalledTimes(1)
expect(response).toBe(Status.SUCCESS)
})

@@ -443,5 +444,6 @@

await deploy(action)
const response = await deploy(action)
expect(execute).toBeCalledTimes(12)
expect(rmRF).toBeCalledTimes(1)
expect(response).toBe(Status.SKIPPED)
})

@@ -448,0 +450,0 @@

@@ -41,3 +41,2 @@ "use strict";

finally {
console.log(status);
core_1.info(`${status === constants_1.Status.FAILED

@@ -44,0 +43,0 @@ ? 'Deployment Failed ❌'

@@ -5,3 +5,3 @@ {

"author": "James Ives <iam@jamesiv.es> (https://jamesiv.es)",
"version": "3.4.10",
"version": "3.5.1",
"license": "MIT",

@@ -8,0 +8,0 @@ "main": "lib/lib.js",

@@ -156,3 +156,3 @@ <p align="center">

The action will export an environment variable called `DEPLOYMENT_STATUS` that you can use in your workflow to determine if the deployment was successful or not. You can find an explanation of each status code below.
The action will export an environment variable called `DEPLOYMENT_STATUS` that you can use in your workflow to determine if the deployment was successful or not. You can find an explanation of each status type below.

@@ -159,0 +159,0 @@ | Status | Description |

@@ -33,3 +33,2 @@ import {exportVariable, info, setFailed} from '@actions/core'

} finally {
console.log(status)
info(

@@ -36,0 +35,0 @@ `${

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc