diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 748bb6f..87f9df3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,11 +90,11 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v2 - - name: Download build artifact - uses: actions/download-artifact@v4 - with: - name: build-output-${{ steps.commit-hash.outputs.short }} - path: dist + # - name: Download build artifact + # uses: actions/download-artifact@v4 + # with: + # name: build-output-${{ steps.commit-hash.outputs.short }} + # path: dist - name: Install ESA CLI run: | @@ -103,7 +103,7 @@ jobs: - name: Deploy to ESA run: | esa-cli login --access-key-id ${{ secrets.ESA_ACCESS_KEY_ID }} --access-key-secret ${{ secrets.ESA_ACCESS_KEY_SECRET }} - esa-cli deploy --assets ./dist --name ${{ env.ESA_PROJECT_NAME }} --minify + esa-cli deploy --name ${{ env.ESA_PROJECT_NAME }} --minify deploy-vercel: needs: build @@ -168,11 +168,11 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v2 - - name: Download build artifact - uses: actions/download-artifact@v4 - with: - name: build-output-${{ steps.commit-hash.outputs.short }} - path: dist + # - name: Download build artifact + # uses: actions/download-artifact@v4 + # with: + # name: build-output-${{ steps.commit-hash.outputs.short }} + # path: dist - name: Install EdgeOne CLI run: | @@ -183,7 +183,7 @@ jobs: if [ -z "${{ secrets.EDGEONE_TOKEN }}" ] || [ -z "${{ env.EDGEONE_PROJECT_NAME }}" ]; then echo "Skipping EdgeOne deploy: missing EDGEONE_TOKEN or EDGEONE_PROJECT_NAME" && exit 0 fi - edgeone pages deploy ./dist --token ${{ secrets.EDGEONE_TOKEN }} --name "${{ env.EDGEONE_PROJECT_NAME }}" + edgeone pages deploy --token ${{ secrets.EDGEONE_TOKEN }} --name "${{ env.EDGEONE_PROJECT_NAME }}" deploy-cloudflare: needs: build diff --git a/.gitignore b/.gitignore index c781343..b74e104 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,9 @@ yarn.lock .edgeone/ .vercel .env*.local + +# Tencent Cloud EdgeOne +.env +.edgeone/* +!.edgeone/project.json +.tef_dist/*