Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy
on:
push:
branches: master
pull_request:
branches: master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Build step
run: "npm install && npm run build"
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "important-duck-66"
entrypoint: "dist/server.js"
root: "."