1
0

Compare commits

..

8 Commits

Author SHA1 Message Date
AM
411c2efcda replace rsync with scp
All checks were successful
Build Node / deploy (push) Successful in 15s
2025-06-22 16:46:06 +02:00
AM
0a23fb19a7 remove cache 2025-06-22 16:36:10 +02:00
AM
202de2e4a0 deploy using scp fix 2
Some checks failed
Build Node / deploy (push) Failing after 4m45s
2025-06-22 16:34:15 +02:00
AM
d56fcfe699 deploy using scp fix
Some checks failed
Build Node / deploy (push) Failing after 4m42s
2025-06-22 16:08:17 +02:00
AM
a2dc8d8a0e deploy using scp
Some checks failed
Build Node / deploy (push) Failing after 3s
2025-06-22 16:07:30 +02:00
AM
ee8ddc4947 actions
All checks were successful
Build Node / build (push) Successful in 10m2s
2025-06-22 15:27:52 +02:00
AM
8d4125daf0 Add gitea link 2025-06-22 15:09:36 +02:00
AM
f5a5020c88 fix typo 2025-06-22 15:01:51 +02:00
3 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,38 @@
name: Build Node
on:
push:
branches:
- prod
pull_request:
branches:
- prod
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H "molnarandrei.com" >> ~/.ssh/known_hosts
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
run: |
ssh -i ~/.ssh/id_ed25519 andrei@molnarandrei.com "rm -rf ~/www/*"
scp -i ~/.ssh/id_ed25519 -r ./build/* andrei@molnarandrei.com:~/www/

View File

@ -16,4 +16,4 @@ This is the source code for [my personal webpage](https://molnarandrei.com)
- Design Patterns: Elements of Reusable Object Oriented Software (done) - Design Patterns: Elements of Reusable Object Oriented Software (done)
- Building Microservices (not started yet) - Building Microservices (not started yet)
- [ ] More portfolio public code - [ ] More portfolio public code
- [ ] Store built with htmx and Java Spring because I want to learn html and work with templates. - [ ] Store built with htmx and Java Spring because I want to learn htmx.

View File

@ -25,6 +25,12 @@
{#each Object.entries(navlinks) as [id, intl]} {#each Object.entries(navlinks) as [id, intl]}
<a href="#{id}" class="chip round">{$_(`${intl}.slug`)}</a> <a href="#{id}" class="chip round">{$_(`${intl}.slug`)}</a>
{/each} {/each}
<a href="https://gitea.molnarandrei.com/explore/repos"
class="chip round"
target="_blank"
rel="noopener noreferrer">
Git
</a>
</div> </div>
<button class="s transparent circle" data-ui="#nav-menu"> <button class="s transparent circle" data-ui="#nav-menu">
<i>menu</i> <i>menu</i>