File tree Expand file tree Collapse file tree 4 files changed +85
-0
lines changed
Expand file tree Collapse file tree 4 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ name : deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ deployments : write
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Deploy
19+ uses : cloudflare/wrangler-action@v3
20+ with :
21+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
22+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
23+ command : pages deploy . --project-name=textarea-my
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < meta charset ="utf-8 ">
3+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
4+ < title > 404 Not found</ title >
5+ < style >
6+ * {
7+ margin : 0 ;
8+ padding : 0 ;
9+ box-sizing : border-box;
10+ }
11+
12+ html {
13+ color-scheme : light dark;
14+ background-color : # fff ;
15+ color : # 161616 ;
16+
17+ @media (prefers-color-scheme : dark) {
18+ background-color : # 000 ;
19+ color : # fff ;
20+ }
21+ }
22+
23+ body {
24+ display : flex;
25+ flex-direction : column;
26+ align-items : center;
27+ justify-content : center;
28+ min-height : 100vh ;
29+ padding : 18px ;
30+ font : 18px / 1.5 system-ui;
31+ -webkit-font-smoothing : antialiased;
32+ text-rendering : optimizeLegibility;
33+ }
34+
35+ h1 {
36+ font-size : 2em ;
37+ font-weight : 500 ;
38+ margin-bottom : 0.5em ;
39+ }
40+
41+ p {
42+ margin-bottom : 2em ;
43+ opacity : 0.6 ;
44+ }
45+
46+ a {
47+ color : inherit;
48+ text-decoration : underline;
49+ text-underline-offset : 6px ;
50+ text-decoration-thickness : 1px ;
51+ transition : opacity 0.2s ;
52+ }
53+
54+ a : hover {
55+ opacity : 0.6 ;
56+ }
57+ </ style >
58+ < body >
59+ < h1 > 404</ h1 >
60+ < p > Page not found</ p >
61+ < a href ="/ "> Go home</ a >
62+ </ body >
You can’t perform that action at this time.
0 commit comments