Skip to content

Commit

Permalink
3.1.3
Browse files Browse the repository at this point in the history
fix access of variable before it's defined
  • Loading branch information
quantizor committed Jul 30, 2020
1 parent fa0a8db commit fc3a575
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Basic Usage
```yaml
steps:
- name: Wait for Netlify Deploy
uses: probablyup/[email protected].2
uses: probablyup/[email protected].3
id: waitForNetlifyDeploy
with:
site_id: 'YOUR_SITE_ID' # See Settings > Site Details > General in the Netlify UI
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: npm ci

- name: Wait for Netlify
uses: probablyup/[email protected].2
uses: probablyup/[email protected].3
id: waitForDeployment
with:
site_id: '[your site ID here]'
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
run: |
npm run build
- name: Waiting for 200 from Netlify
uses: probablyup/[email protected].2
uses: probablyup/[email protected].3
id: waitForNetlifyDeploy
with:
site_id: 'YOUR_SITE_ID' # See Settings > Site Details > General in the Netlify UI
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const run = async () => {
core.setFailed('Required field `site_id` was not provided');
}

console.log(`Waiting for Netlify to create a deployment in site ${commitDeployment.name} for git SHA ${commitSha}`);
console.log(`Waiting for Netlify to create a deployment for git SHA ${commitSha}`);
const commitDeployment = await waitForDeployCreation(
`https://api.netlify.com/api/v1/sites/${siteId}/deploys`,
commitSha,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wait-for-netlify-action",
"version": "3.1.2",
"version": "3.1.3",
"description": "A GitHub action that waits for a Netlify deployment preview for the current commit being built",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fc3a575

Please sign in to comment.