Skip to content

Test Deploy Command #8262

Test Deploy Command

Test Deploy Command #8262

Workflow file for this run

name: Test Deploy Command
on:
push:
branches: [main]
schedule:
- cron: "*/10 * * * *"
workflow_dispatch:
jobs:
test-deploy:
runs-on: ubuntu-latest
env:
DENO_DEPLOY_CLI_SPECIFIER: file://${{ github.workspace }}/main.ts
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
- name: Install Dependencies
run: deno install
- name: Build
run: deno task build
- name: Test deno deploy command in astro-demo
working-directory: ./astro-demo
run: deno deploy --token=${{ secrets.DENO_DEPLOY_TOKEN }} --org=${{ vars.DENO_DEPLOY_ORG }} --app=${{ vars.DENO_DEPLOY_APP }}