Skip to content

First GitHub action test #5

First GitHub action test

First GitHub action test #5

Workflow file for this run

name: PR Preview Deploy
on:
pull_request:
types: [opened, synchronize, reopened, closed, merged]
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://matt-webapp.trigger.dev --self-hosted --push
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}