Skip to content

changed all inter-projects link relative, with removing location full… #6

changed all inter-projects link relative, with removing location full…

changed all inter-projects link relative, with removing location full… #6

Workflow file for this run

name: Deploy
on:
push:
branches: main
pull_request:
branches: main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run deno task lume for subproject1
run: |
cd subproject1
deno task lume
- name: Run deno task lume for subproject2
run: |
cd subproject2
deno task lume
- name: Run deno task lume for mainproject
run: |
cd mainproject
deno task lume
- name: Copy subproject1/_site/ to ./webroot/subproject1/
run: |
mkdir -p ./webroot/subproject1
cp -r subproject1/_site/* ./webroot/subproject1/
- name: Copy subproject2/_site/ to ./webroot/subproject2/
run: |
mkdir -p ./webroot/subproject2
cp -r subproject2/_site/* ./webroot/subproject2/
- name: Copy mainproject/_site/ to ./webroot/
run: |
mkdir -p ./webroot
cp -r mainproject/_site/* ./webroot/
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "multi-lume-projects"
entrypoint: "server.ts"