Skip to content

Commit

Permalink
Updating appleboy/ssh-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh-malhotraa committed Apr 21, 2024
1 parent 09e8872 commit 5955622
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/digital-ocean-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
target: '/var/www/html' # Path to the directory you want to copy to

- name: Start Server
uses: appleboy/[email protected].4 # This is the action
uses: appleboy/[email protected].10 # This is the action
with:
host: ${{secrets.SSH_HOST_PROD}} # IP address of the server you wish to ssh into
key: ${{secrets.SSH_KEY}} # Private or public key of the server
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Contributors/Contributor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Avatar, Stack, Typography, Link, Paper } from '@mui/material';
import { contributors } from './contributors';

interface IProps {
contributor: typeof contributors[number];
contributor: (typeof contributors)[number];
topContributor?: boolean;
}

Expand Down
8 changes: 6 additions & 2 deletions client/src/components/DaterPicker/ConfirmationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ const StyledButton = styled(Button)`
color: #f5f5f5;
font-size: 1rem;
background-image: linear-gradient(90deg, #3512b2, #d18873);
box-shadow: 0 2px 1px transparent, 0 4px 2px transparent,
0 8px 4px transparent, 0 16px 8px transparent, 0 32px 16px transparent;
box-shadow:
0 2px 1px transparent,
0 4px 2px transparent,
0 8px 4px transparent,
0 16px 8px transparent,
0 32px 16px transparent;
transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68);
`;
interface ConfirmationProps {
Expand Down
8 changes: 6 additions & 2 deletions client/src/components/LandingHero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ const StyledButton = styled(Button)`
color: #f5f5f5;
font-size: 1rem;
background-image: linear-gradient(90deg, #3512b2, #d18873);
box-shadow: 0 2px 1px transparent, 0 4px 2px transparent,
0 8px 4px transparent, 0 16px 8px transparent, 0 32px 16px transparent;
box-shadow:
0 2px 1px transparent,
0 4px 2px transparent,
0 8px 4px transparent,
0 16px 8px transparent,
0 32px 16px transparent;
transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68);
/* transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68); */
Expand Down
62 changes: 31 additions & 31 deletions client/src/components/common/ChipSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,37 +117,37 @@ export const MultiSelectElement = ({
typeof rest.renderValue === 'function'
? rest.renderValue
: showChips
? (selected: ItemType[]) => (
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
{(selected || []).map(
(selectedValue, index: number) => (
<Chip
key={index}
label={selectedValue.label}
sx={{
margin: '4px',
}}
onDelete={() => {
onChange(
optionSelected.filter(
(i: any) => i !== selectedValue,
),
);
// setValue(name, formValue.filter((i: any) => i !== value), { shouldValidate: true })
}}
deleteIcon={
<CloseIcon
onMouseDown={(ev) => {
ev.stopPropagation();
}}
/>
}
/>
),
)}
</div>
)
: (selected) => selected?.join(', ')
? (selected: ItemType[]) => (
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
{(selected || []).map(
(selectedValue, index: number) => (
<Chip
key={index}
label={selectedValue.label}
sx={{
margin: '4px',
}}
onDelete={() => {
onChange(
optionSelected.filter(
(i: any) => i !== selectedValue,
),
);
// setValue(name, formValue.filter((i: any) => i !== value), { shouldValidate: true })
}}
deleteIcon={
<CloseIcon
onMouseDown={(ev) => {
ev.stopPropagation();
}}
/>
}
/>
),
)}
</div>
)
: (selected) => selected?.join(', ')
}>
{menuItems.map((item: ItemType, index: number) => {
const isChecked = isPresent(optionSelected, item);
Expand Down
8 changes: 6 additions & 2 deletions client/src/components/deprecated/Hero/Searchbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ const StyledButton = styled(Button)`
color: #f5f5f5;
font-size: 1rem;
background-image: linear-gradient(90deg, #3512b2, #d18873);
box-shadow: 0 2px 1px transparent, 0 4px 2px transparent,
0 8px 4px transparent, 0 16px 8px transparent, 0 32px 16px transparent;
box-shadow:
0 2px 1px transparent,
0 4px 2px transparent,
0 8px 4px transparent,
0 16px 8px transparent,
0 32px 16px transparent;
transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68);
/* transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68); */
Expand Down
2 changes: 1 addition & 1 deletion client/src/data/countryCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export const countries = [
{ code: 'ZW', label: 'Zimbabwe', phone: '263' },
];

export type CountryType = typeof countries[0];
export type CountryType = (typeof countries)[0];

export const countryCodetoName: Record<string, string> = {
BD: 'Bangladesh',
Expand Down
8 changes: 6 additions & 2 deletions client/src/pages/Waitlist/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ const StyledButton = styled(Button)`
color: #f5f5f5;
font-size: 1rem;
background-image: linear-gradient(90deg, #3512b2, #d18873);
box-shadow: 0 2px 1px transparent, 0 4px 2px transparent,
0 8px 4px transparent, 0 16px 8px transparent, 0 32px 16px transparent;
box-shadow:
0 2px 1px transparent,
0 4px 2px transparent,
0 8px 4px transparent,
0 16px 8px transparent,
0 32px 16px transparent;
transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68);
/* transition: all 0.8s cubic-bezier(0.32, 1.32, 0.42, 0.68); */
Expand Down

0 comments on commit 5955622

Please sign in to comment.