Skip to content

Feed to netlify

Feed to netlify #6

name: 'Feed to netlify'
on:
workflow_dispatch:
# push:
# branches:
# - 'main'
# paths:
# - 'packages/feed-app/src/**'
jobs:
deploy:
runs-on: ubuntu-latest
name: 'Deploy to Netlify'
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@octocat'
- run: npm ci
- run: npm run build-libs
- run: npm run build -w packages/feed-app
- uses: jsmrcaga/[email protected]
with:
NETLIFY_SITE_ID: 2ad91e6e-3439-40ef-842b-80380912b1e3
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: packages/feed-app/dist