Skip to content

Use Deno.cron to update POTD #21

Use Deno.cron to update POTD

Use Deno.cron to update POTD #21

Workflow file for this run

name: Publish on Deno Deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Install Deno
uses: denoland/setup-deno@main
with:
deno-version: 1.34.3
- name: Build site
run: deno task build
- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: pokeapi
entrypoint: src/index.ts