Skip to content

fix broken images on opensource.axo.dev #36

fix broken images on opensource.axo.dev

fix broken images on opensource.axo.dev #36

Workflow file for this run

name: Project Gallery
on:
pull_request:
push:
branches:
- main
jobs:
web:
strategy:
matrix:
example-name: ["cargo-new"]
name: project-gallery
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install wrangler
run: npm install -g wrangler
- name: Install oranda
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.1.0-prerelease.7/oranda-installer.sh | sh
- name: Build and deploy example
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: |
cd project-gallery/${{ matrix.example-name }} && oranda build
wrangler pages deploy public --project-name ${{ matrix.example-name }}