Skip to content

Merge branch 'main' of github.com:Stan370/TonyChat #32

Merge branch 'main' of github.com:Stan370/TonyChat

Merge branch 'main' of github.com:Stan370/TonyChat #32

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: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Clone repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Install Deno
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x
- name: Install Node.js
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: lts/*
- name: Build step
run: "npm install && npm run build" # 📝 Update the build command(s) if necessary
- name: Upload to Deno Deploy
uses: denoland/deployctl@6dce4affe85fbcd9d8917e56c4a49b066b8cc306 # v1
with:
project: "sad-camel-61"
entrypoint: "https://deno.land/[email protected]/http/file_server.ts" # 📝 Update the entrypoint if necessary
root: "out" # 📝 Update the root if necessary