-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from altugbakan/v2
Move to V2
- Loading branch information
Showing
74 changed files
with
4,589 additions
and
19,422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()], | ||
}); |
Oops, something went wrong.