Create deploy.yml
Official hub for CINIS. Houses the enterprise governance framework and
Brought to you by:
mikecomplexai
Originally created by: mikecomplexai-7
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
API_ID: ${{ secrets.API_ID }}
API_SECRET_KEY: ${{ secrets.API_SECRET_KEY }}
OAUTH_REDIRECT_URI: urn:ietf:wg:oauth:2.0:oob
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Build project
run: npm run build
- name: Deploy project
run: npm run deploy
env:
API_ID: ${{ secrets.API_ID }}
API_SECRET_KEY: ${{ secrets.API_SECRET_KEY }}
OAUTH_REDIRECT_URI: urn:ietf:wg:oauth:2.0:oob