From 96ae5f77f76be0714b7288996784a7a5ddc0819e Mon Sep 17 00:00:00 2001 From: Milad Raeisi Date: Fri, 29 Dec 2023 23:00:57 +0400 Subject: [PATCH] Initial commit --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ index.html | 13 +++++++++++++ script.js | 0 style.css | 11 +++++++++++ 4 files changed, 49 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 index.html create mode 100644 script.js create mode 100644 style.css diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2e0de33 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/index.html b/index.html new file mode 100644 index 0000000..884cf6d --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + Angor + + + +

Welcome to Angor!

+ + + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..e69de29 diff --git a/style.css b/style.css new file mode 100644 index 0000000..346d841 --- /dev/null +++ b/style.css @@ -0,0 +1,11 @@ +body{ + background-color: #26242a; + color: #ccc; +} +.welcome-text{ + text-align: center; + margin-left: auto; + margin-right: auto; + margin-top: 10%; + +} \ No newline at end of file