Skip to content

removing check task and updating actions to setup-deno v2 #100

removing check task and updating actions to setup-deno v2

removing check task and updating actions to setup-deno v2 #100

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: Setup deno
uses: denoland/setup-deno@v2
with:
deno-version: 2.x
- name: Build step
run: deno task build
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "denopaste"
entrypoint: "./main.ts"
root: "."