This commit is contained in:
Keavon Chambers 2024-10-02 14:29:25 -07:00
parent 15385d4bb2
commit 78f2147d06
3 changed files with 3 additions and 12 deletions

View file

@ -46,9 +46,6 @@ jobs:
echo "Latest updated version:"
rustc --version
- name: 🔧 Add .cargo/bin to PATH
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: 📜 Prepare to install Rust dependencies
uses: cargo-bins/cargo-binstall@main
@ -70,7 +67,7 @@ jobs:
NODE_ENV: production
run: |
cd frontend
npm run build
PATH=~/.cargo/bin:$PATH npm run build
- name: 📤 Publish to Cloudflare Pages
id: cloudflare

View file

@ -43,9 +43,6 @@ jobs:
echo "Latest updated version:"
rustc --version
- name: 🔧 Add .cargo/bin to PATH
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: 📜 Prepare to install Rust dependencies
uses: cargo-bins/cargo-binstall@main
@ -65,7 +62,7 @@ jobs:
NODE_ENV: production
run: |
cd frontend
npm run build
PATH=~/.cargo/bin:$PATH npm run build
- name: 📤 Publish to Cloudflare Pages
id: cloudflare

View file

@ -69,9 +69,6 @@ jobs:
echo "Latest updated version:"
rustc --version
- name: 🔧 Add .cargo/bin to PATH
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: 📜 Prepare to install Rust dependencies
uses: cargo-bins/cargo-binstall@main
@ -106,7 +103,7 @@ jobs:
NODE_ENV: production
run: |
cd frontend
npm run ${{ steps.build_command.outputs.command }}
PATH=~/.cargo/bin:$PATH npm run ${{ steps.build_command.outputs.command }}
- name: 📤 Publish to Cloudflare Pages
id: cloudflare