Skip to content

Commit

Permalink
Merge pull request #554 from techmatters/v1.14-rc
Browse files Browse the repository at this point in the history
Merge pull request #553 from techmatters/SJH-js_action_code
  • Loading branch information
stephenhand authored Dec 18, 2023
2 parents 4a7bbe1 + 7e22020 commit fa8f76f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* For details see https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github
*/

import { setOutput, setFailed } from '@actions/core';
import fetch from 'node-fetch';
import Twilio from 'twilio';
const { setOutput, setFailed } = require('@actions/core');
const fetch = require('node-fetch');
const Twilio = require('twilio');

async function healthCheck () {
// `who-to-greet` input defined in action metadata file
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/main-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"healthcheck": "npm install && npx ts-node --esm ./healthcheck.ts"
"healthcheck": "npm install && node healthcheck.js"
},
"author": "",
"license": "AGPL",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-all-production-accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
uses: ./.github/workflows/deploy-multiple-accounts.yml
secrets: inherit
with:
helplines: ${{ needs.configure.outputs.production_helplines }}
helplines: ${{ needs.configure.outputs.target_helplines }}
environments: '[ "PROD" ]'

0 comments on commit fa8f76f

Please sign in to comment.