Updated action
Some checks failed
Upload via SSH / build (push) Failing after 5m20s
Upload via SSH / deploy (push) Has been skipped

This commit is contained in:
Bethlenfalvi, Lorinc (ext)
2026-01-05 22:18:34 +01:00
parent ad775e4f77
commit 6f687d22c2

View File

@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: Upload via SSH
on:
# Trigger the workflow every time you push to the `main` branch
@@ -22,18 +22,16 @@ jobs:
uses: actions/checkout@v4
- name: Install, build, and upload your site
uses: withastro/action@v3
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: "Deploy"
uses: https://code.klank.school/riviera/actions-file-deployer@v4
with:
remote-protocol: "sftp"
remote-host: "lbfalvy.com"
remote-user: "www-upload"
ssh-private-key: ${{ secrets.SSH_KEYFILE }}
remote-path: "lbfalvy.com"