From 6f687d22c2b4a76decad7473873e62d5878c846a Mon Sep 17 00:00:00 2001 From: "Bethlenfalvi, Lorinc (ext)" Date: Mon, 5 Jan 2026 22:18:34 +0100 Subject: [PATCH] Updated action --- {.github => .gitea}/workflows/deploy.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) rename {.github => .gitea}/workflows/deploy.yml (51%) diff --git a/.github/workflows/deploy.yml b/.gitea/workflows/deploy.yml similarity index 51% rename from .github/workflows/deploy.yml rename to .gitea/workflows/deploy.yml index 979b6df..d403912 100644 --- a/.github/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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 \ No newline at end of file + - 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" \ No newline at end of file