diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b405c8..c60e5a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: run: yarn build - name: Add commit SHA file to build folder - run: echo -n $(echo "${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}" | cut -c1-7) > scripts/commit.txt + run: echo -n $(echo "${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}" | cut -c1-7) > scripts/out/commit.txt - name: Prepare Deployment Artifact env: @@ -41,7 +41,7 @@ jobs: echo "event_name=$EVENT_NAME,pr_number=$PR_NUMBER,sha=$SHA" mkdir -p ./pr echo "event_name=$EVENT_NAME,pr_number=$PR_NUMBER,sha=$SHA," > ./pr/pr_number - cd ./scripts && zip -r ../pr/pull-request.zip ./* + cd ./scripts/out && zip -r ../pr/pull-request.zip ./* - uses: actions/upload-artifact@v3 with: