Skip to content

using deployed server in app #43

using deployed server in app

using deployed server in app #43

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Predeploy
run: npm run predeploy
- name: Deploy
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: "utkarsh-sanjivan"
user_email: "[email protected]"
github_token: ${{ secrets.TOKEN_FOR_REPO_DEPLOY }}
repository: "Condenast/hackathon-VFeatures"