Skip to content

Commit

Permalink
chore: Update cron schedule for deployment workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Amr Elsayyad <[email protected]>
  • Loading branch information
AmrElsayyad committed Aug 23, 2024
1 parent 37cb01e commit ae6a88f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
branches:
- my-portfolio
schedule:
- cron: "0 12 * * FRI" # see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
- cron: "0 0 * * *" # see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions src/containers/profile/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Contact from "../contact/Contact";
import Loading from "../loading/Loading";

const renderLoader = () => <Loading />;
const GithubProfileCard = lazy(() =>
import("../../components/githubProfileCard/GithubProfileCard")
const GithubProfileCard = lazy(
() => import("../../components/githubProfileCard/GithubProfileCard")
);
export default function Profile() {
const [prof, setrepo] = useState([]);
Expand Down
4 changes: 2 additions & 2 deletions src/containers/projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {openSource, socialMediaLinks} from "../../portfolio";
import StyleContext from "../../contexts/StyleContext";
import Loading from "../../containers/loading/Loading";
export default function Projects() {
const GithubRepoCard = lazy(() =>
import("../../components/githubRepoCard/GithubRepoCard")
const GithubRepoCard = lazy(
() => import("../../components/githubRepoCard/GithubRepoCard")
);
const FailedLoading = () => null;
const renderLoader = () => <Loading />;
Expand Down
11 changes: 8 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
font-family: "Agustina Regular";
font-style: normal;
font-weight: normal;
src: local("Agustina Regular"),
src:
local("Agustina Regular"),
url("./assets/fonts/Agustina.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "Montserrat";
src: local("Montserrat"),
src:
local("Montserrat"),
url("./assets/fonts/Montserrat-Regular.ttf") format("woff");
font-display: swap;
}
Expand All @@ -22,7 +24,10 @@ body {
}
body {
margin: 0;
font: 19px / 23px Montserrat, "Montserrat", sans-serif;
font:
19px / 23px Montserrat,
"Montserrat",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down

0 comments on commit ae6a88f

Please sign in to comment.