diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00d8dfb4..6b1d6247 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,5 +34,8 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: static - path: static + name: full-stack-app + path: | + static + package.json + yarn.lock diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ff53c534..1e62db8d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,13 +17,14 @@ jobs: with: repository: ${{ github.repository }} production_branch: ${{ github.event.repository.default_branch }} - build_artifact_name: "static" - output_directory: "static" + build_artifact_name: "full-stack-app" + output_directory: "full-stack-app" current_branch: ${{ github.event.workflow_run.head_branch }} cloudflare_account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }} commit_sha: ${{ github.event.workflow_run.head_sha }} workflow_run_id: ${{ github.event.workflow_run.id }} + statics_directory: "static" - name: Check out repository uses: actions/checkout@v4