Skip to content

Commit 9e780f1

Browse files
committed
Migrate to Astro
1 parent af0b13d commit 9e780f1

File tree

248 files changed

+7499
-63641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+7499
-63641
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: [ main, astro ]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v5
14+
- name: Install, build
15+
uses: withastro/action@v5
16+
- name: Deploy to Server
17+
uses: easingthemes/ssh-deploy@v5.0.0
18+
with:
19+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
20+
SOURCE: "dist/"
21+
REMOTE_HOST: ${{ secrets.SSH_HOST }}
22+
REMOTE_USER: ${{ secrets.SSH_USER }}
23+
TARGET: "/data/osrtos.com/"
24+
SCRIPT_BEFORE: "rm -rf /data/osrtos.com/*"

.gitignore

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
1-
themes/unify/src/
2-
public
3-
utils/key_ignore
4-
.idea
5-
.cursor
6-
.hugo_build.lock
7-
.specstory/
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# logs
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ OSRTOS.COM is a website about open source real-time operating systems and open s
55

66
Most of the text is available under the Creative Commons Attribution-ShareAlike License.
77

8-
OSRTOS.COM use [Hugo](https://gohugo.io/) and [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to manage contents.
8+
OSRTOS.COM use [Astro](https://astro.build/) and [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to manage contents.
99

1010
Your contributions are always welcome! Fork this project or create an issue.

archetypes/default.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

archetypes/library.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

archetypes/rtos.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)