Skip to content

Commit

Permalink
Merge pull request #23 from SunbirdAI/github-actions
Browse files Browse the repository at this point in the history
editing workflow file
  • Loading branch information
evie-8 authored Sep 6, 2024
2 parents b426340 + e438557 commit 8311155
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 32 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy
name: Build-and-Deploy

on:
push:
Expand Down Expand Up @@ -27,8 +27,8 @@ jobs:
REACT_APP_GA4_MEASUREMENT_ID: ${{ secrets.REACT_APP_GA4_MEASUREMENT_ID }}
REACT_APP_FEEDBACK_URL: $ {{ secrets.REACT_APP_FEEDBACK_URL }}

run: npm run build
- name: Deploy 🚀
run: CI=false npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down
26 changes: 1 addition & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Translate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import TranslateTextArea from "../TranslateTextArea";
import { useEffect, useRef, useState, useCallback } from "react";
import { debounce } from "lodash";
import { languageId, translateSB, sendFeedback } from "../../API";
import { languageId, translateSB } from "../../API";
import SamplePhrases from "../SamplePhrases";

const localLangOptions = [
Expand Down
5 changes: 2 additions & 3 deletions src/components/TranslateTextArea/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import LinearProgress from "@mui/material/LinearProgress";
import Feedback from "../Feedback";
import FeedbackImage from "../../images/feedback2.png";
// import Typewriter from "../Typewriter";
import { ContentCopy, Feedback as FeedbackIcon } from "@mui/icons-material";
import React, { useState, useEffect, useCallback } from "react";
import { debounce } from "lodash";
import { ContentCopy } from "@mui/icons-material";
import React, { useState, useEffect } from "react";

const languageNames = {
eng: "English",
Expand Down

0 comments on commit 8311155

Please sign in to comment.