Skip to content

Merge pull request #424 from Stoccoin-Official/dependabot/npm_and_yar… #17

Merge pull request #424 from Stoccoin-Official/dependabot/npm_and_yar…

Merge pull request #424 from Stoccoin-Official/dependabot/npm_and_yar… #17

Workflow file for this run

name: Build and Deploy Website
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies and build
run: |
npm install
npm run build
- name: Deploy to hosting service
env:
VITE_API_KEY: ${{ secrets.VITE_API_KEY }}
VITE_AUTH_DOMAIN: ${{ secrets.VITE_AUTH_DOMAIN }}
VITE_PROJECT_ID: ${{ secrets.VITE_PROJECT_ID }}
VITE_STORAGE_BUCKET: ${{ secrets.VITE_STORAGE_BUCKET }}
VITE_MESSAGING_SENDER_ID: ${{ secrets.VITE_MESSAGING_SENDER_ID }}
VITE_APP_ID: ${{ secrets.VITE_APP_ID }}
run: |
npm run deploy