Skip to content

Commit

Permalink
Merge pull request #1 from altugbakan/v2
Browse files Browse the repository at this point in the history
Move to V2
  • Loading branch information
altugbakan authored Nov 12, 2023
2 parents dd01f83 + 2540746 commit 36cf274
Show file tree
Hide file tree
Showing 74 changed files with 4,589 additions and 19,422 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches:
- main
name: 🚀 Deploy website
jobs:
deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18"

- name: ⬇️ Install dependencies
run: npm install

- name: 📦 Build project
run: npm run build

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.netim.hosting
local-dir: ./dist/
server-dir: ./public_www/
dangerous-clean-slate: true
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
29 changes: 0 additions & 29 deletions .github/workflows/main.yml

This file was deleted.

33 changes: 17 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# build output
dist/

# generated types
.astro/

# dependencies
/node_modules
/.pnp
.pnp.js
node_modules/

# testing
/coverage
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# production
/build
# environment variables
.env
.env.production

# misc
# macOS-specific files
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# VSCode-specific files
.vscode/
14 changes: 14 additions & 0 deletions .prettierrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type { Config } from "prettier";

export default {
plugins: ["prettier-plugin-astro"],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
bracketSameLine: true,
} satisfies Config;
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# [alt.ug](https://alt.ug)
My personal website.

## Usage
- Clone or Fork the project.
- Use `npm i` to install dependencies.
- Use `npm start` run the app in development mode.
My personal website.

## Build
This project is built using [React](https://reactjs.org/) and [Tailwind CSS](https://tailwindcss.com/).

This website is built using [Astro](https://astro.build/) and [Tailwind CSS](https://tailwindcss.com/).
7 changes: 7 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from "astro/config";

import tailwind from "@astrojs/tailwind";

export default defineConfig({
integrations: [tailwind()],
});
Loading

0 comments on commit 36cf274

Please sign in to comment.