1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
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

View File

@ -10,13 +10,28 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 24 node-version: 24
cache: npm cache: npm
- run: npm ci
- run: ls - name: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
run: rsync -avz --delete -e "ssh -i ~/.ssh/id_ed25519" ./build/ andrei@https://molnarandrei.com:~/www