Merge pull request #124 from web-tech-tw/visitor-details #82
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: Main workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Specific Node.js version 🦄 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Install and Build | |
run: | | |
npm install | |
npm run generate-chats-qr | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |