Skip to content

refactor: add function deploy actions #101

refactor: add function deploy actions

refactor: add function deploy actions #101

name: Deploy to GitHub README.md on Merge
on:
push:
branches:
- main
jobs:
update_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Production build ( client + bundle stats )
run: npm run nx run docs:build
- name: Update main readme file
uses: EndBug/add-and-commit@v7
with:
author_name: push-based.io
author_email: [email protected]
message: 'Update main readme file'
add: '*'