Skip to content

Commit

Permalink
Merge pull request #10 from any-VM/main
Browse files Browse the repository at this point in the history
add workfnvjbg
  • Loading branch information
IncognitoTGT authored Mar 6, 2024
2 parents b6c7c86 + 0fd7738 commit 29f4f63
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/update-vps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Update Docs
run-name: Update Docs
on:
push:
branches:
- main
jobs:
update-vps:
runs-on: ubuntu-latest
steps:
- name: Update
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: root
password: ${{ secrets.PASSWORD }}
port: 22
script: |
export NODE_OPTIONS=--max-old-space-size=8192
cd /var/www/anycode-docs
git pull
pnpm i
pnpm build
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Documentation website for AnyCode configuration and other tools or utilities.

# How to start
## Contributing

```
pnpm i, pnpm build and pnpm dev
```
To contribute, make a pull request. The markdown files are in `src/content/docs`

The docs use [Starlight](https://starlight.astro.build).
4 changes: 2 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
--bg-lighter: #cbd5e1;
}
[data-has-hero] .page {
@apply bg-gradient-to-br from-background to-bg-lighter;
@apply from-background to-bg-lighter bg-gradient-to-br;
}
.header {
@apply bg-transparent backdrop-blur-lg;
}

.card {
@apply rounded-xl border border-accent-500 !bg-accent-800/10 bg-accent-100 hover:border-accent-800 dark:border-accent-800 dark:bg-accent-900 hover:dark:border-accent-500;
@apply border-accent-500 !bg-accent-800/10 bg-accent-100 hover:border-accent-800 dark:border-accent-800 dark:bg-accent-900 hover:dark:border-accent-500 rounded-xl border;
}

0 comments on commit 29f4f63

Please sign in to comment.