my website
at main 44 lines 885 B view raw
1name: Deploy 2on: 3 push: 4 branches: main 5 pull_request: 6 branches: main 7 8jobs: 9 deploy: 10 name: Deploy 11 runs-on: ubuntu-latest 12 13 permissions: 14 id-token: write # Needed for auth with Deno Deploy 15 contents: read # Needed to clone the repository 16 17 steps: 18 - name: Clone repository 19 uses: actions/checkout@v4 20 21 - name: Install Deno 22 uses: denoland/setup-deno@v2 23 with: 24 deno-version: v2.x 25 26 - name: Install Node.js 27 uses: actions/setup-node@v4 28 with: 29 node-version: lts/* 30 31 - name: Install step 32 run: "npm install" 33 34 - name: Build step 35 run: "npm run build" 36 37 - name: Upload to Deno Deploy 38 uses: denoland/deployctl@v1 39 with: 40 project: "dotio3" 41 entrypoint: "jsr:@std/http/file-server" 42 root: "dist" 43 44