Skip to content

Commit

Permalink
Test manual deploy preview
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Oct 26, 2023
1 parent 2c309c4 commit 9b2fcb5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,35 @@ jobs:

- name: 🏗️ Build
run: yarn app build:web

app-web-preview:
environment: main - app
runs-on: ubuntu-latest

env:
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
NODE_OPTIONS: '--max-old-space-size=4096'

steps:
- name: 🚧 Checkout
uses: actions/checkout@v4

- name: 🚧 Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'

- name: 📦 Install
run: yarn install

- name: 🏗️ Build
run: yarn app build:web

- name: 🚀 Publish
uses: netlify/actions/cli@master
with:
args: deploy --dir app/dist
env:
NETLIFY_SITE_ID: ${{ env.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit 9b2fcb5

Please sign in to comment.