Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Dec 29, 2023
1 parent c50c569 commit 96ae5f7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Publish Web Site

on:
push:
branches:
- master
- main

jobs:
build:
name: Build and Push
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@master
name: Checkout
- name: Redirect 404 to Index for SPA
run: cp index.html 404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
cname: angor.io
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Angor</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="welcome-text">Welcome to Angor!</h1>
<script src="script.js"></script>
</body>
</html>
Empty file added script.js
Empty file.
11 changes: 11 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
body{
background-color: #26242a;
color: #ccc;
}
.welcome-text{
text-align: center;
margin-left: auto;
margin-right: auto;
margin-top: 10%;

}

0 comments on commit 96ae5f7

Please sign in to comment.