Skip to content

Update 20240618_0.md #651

Update 20240618_0.md

Update 20240618_0.md #651

Workflow file for this run

name: CD
on: [push]
jobs:
cd:
name: CD
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Setup repo📦
uses: actions/checkout@v3
- name: Setup Node 🫂
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Setup pnpm ✊
uses: pnpm/[email protected]
with:
version: 8.5.0
- name: Cache node_modules
uses: actions/cache@v3
id: node_modules_cache_id
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install deps
if: ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }}
run: pnpm i
- name: Build for Astro
run: npx astro build
- name: Remove iranaimono 🗑
run: |
rm -rf node_modules
rm -rf src
rm -rf assets
- name: Deploy to Deno Deploy 🦕
uses: denoland/deployctl@v1
with:
project: liberluna
entrypoint: deno/server.ts