File tree Expand file tree Collapse file tree 5 files changed +45
-79
lines changed Expand file tree Collapse file tree 5 files changed +45
-79
lines changed Original file line number Diff line number Diff line change
1
+ name : Sync Fork
2
+
3
+ on :
4
+ # Triggers when the upstream repository has new changes
5
+ schedule :
6
+ - cron : ' */5 * * * *' # Runs every 5 minutes
7
+ # Also allows manual triggering
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ sync-fork :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Checkout repository
16
+ uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
+ token : ${{ secrets.GITHUB_TOKEN }}
20
+
21
+ - name : Configure Git
22
+ run : |
23
+ git config --global user.name 'GitHub Actions'
24
+ git config --global user.email '[email protected] '
25
+
26
+ - name : Add upstream remote
27
+ run : |
28
+ git remote add upstream https://github.com/pbdsce/zenith.git
29
+
30
+ - name : Fetch upstream changes
31
+ run : |
32
+ git fetch upstream
33
+
34
+ - name : Sync fork with upstream
35
+ run : |
36
+ # Checkout your prod branch
37
+ git checkout prod
38
+
39
+ # Merge upstream changes
40
+ git merge upstream/prod
41
+
42
+ # Push changes to your fork
43
+ git push origin prod
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const mon = Monoton({
12
12
13
13
export default function Loading ( ) {
14
14
return (
15
- < div className = "fixed inset-0 bg-black flex items-center justify-center z-50" >
15
+ < div className = "fixed inset-0 bg-black flex items-center justify-center z-50 select-none " >
16
16
< div className = "text-center" >
17
17
< motion . h1
18
18
className = { `font-dystopian text-4xl md:text-7xl text-white` }
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ import { Timeline } from "@/components/timeline";
4
4
import { SpaceFooter } from "@/components/footer" ;
5
5
import Events from "@/components/events" ;
6
6
import { StarsBackground } from "@/components/ui/stars-background" ;
7
- import LoadingWrapper from "@/components/loading-wrapper" ;
8
-
9
7
export default function Home ( ) {
10
- const content = (
8
+ return (
11
9
< main className = "relative overflow-hidden" >
12
10
< div className = "relative z-10" >
13
11
< section className = "relative" >
@@ -31,10 +29,4 @@ export default function Home() {
31
29
</ div >
32
30
</ main >
33
31
) ;
34
-
35
- return (
36
- < LoadingWrapper loadingTime = { 3000 } >
37
- { content }
38
- </ LoadingWrapper >
39
- ) ;
40
32
}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments