File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 paths :
8- - ' .github/workflows/pages .yml'
8+ - ' .github/workflows/deploy .yml'
99 - ' src/**.rs'
1010 - ' build.rs'
1111 - ' input.css'
3939 - name : Build
4040 run : |
4141 cargo install --locked cargo-leptos
42- cargo leptos serve -r
42+ RUSTFLAGS="--cfg erase_components" cargo leptos serve -r
4343 - name : Upload artifact
4444 uses : actions/upload-artifact@v4
4545 with :
5050 needs : build
5151 steps :
5252 - uses : actions/download-artifact@v4
53+ - name : Show artifact
54+ run : |
55+ ls -l .
56+ ls -l ./artifact
5357 - name : Deploy
5458 uses : cloudflare/wrangler-action@v3
5559 with :
5660 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
5761 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
58- command : pages deploy ./artifact --project-name=homepage
62+ # command: pages deploy ./artifact --project-name=peru
You can’t perform that action at this time.
0 commit comments