Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove committed May 27, 2023
1 parent 264063d commit 3f832ff
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Pull zone ID.

```
- name: Deploy to BunnyCDN
uses: ayeressian/bunnycdn-storage-deploy@v=2.0.1
uses: ayeressian/bunnycdn-storage-deploy@v2.0.2
with:
source: "dist"
storageZoneName: "${{ secrets.STORAGE_NAME }}"
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bunnycdn-storage-deploy",
"version": "2.0.1",
"version": "2.0.2",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import remove from "./remove";

const run = async () => {
try {
const source = isAbsolute(getInput("source")) ? getInput("source") : join(
const sourceRaw = getInput("source");
const source = isAbsolute(sourceRaw) ? sourceRaw : join(
process.env.GITHUB_WORKSPACE as string,
getInput("source")
sourceRaw
);
const storageZoneName = getInput("storageZoneName");
const storageEndpoint =
Expand Down

0 comments on commit 3f832ff

Please sign in to comment.