Skip to content

Testing GH actions

Testing GH actions #16

Workflow file for this run

name: PR Preview Deploy
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Deploy to Preview Environment
run: npx [email protected] deploy --env preview -a https://test-cloud.trigger.dev --self-hosted
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}