refactor: adopt action 4 #73
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub README.md on Merge | |
'on': | |
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: '*' |