Skip to content

rix1.dev-lume: adjust deploy workflow to run the build command from t… #2

rix1.dev-lume: adjust deploy workflow to run the build command from t…

rix1.dev-lume: adjust deploy workflow to run the build command from t… #2

name: Publish on Deno Deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Build site
run: deno task build
working-directory: ./apps/rix1.dev-lume/
- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: rix1dotdev
import-map: "./apps/rix1.dev-lume/deno.json"
entrypoint: "./apps/rix1.dev-lume/serve.ts"
root: "./apps/rix1.dev-lume/_site/"