Updated action
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Deploy to GitHub Pages
|
name: Upload via SSH
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
@@ -22,18 +22,16 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install, build, and upload your site
|
- name: Install, build, and upload your site
|
||||||
uses: withastro/action@v3
|
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:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: "Deploy"
|
||||||
id: deployment
|
uses: https://code.klank.school/riviera/actions-file-deployer@v4
|
||||||
uses: actions/deploy-pages@v4
|
with:
|
||||||
|
remote-protocol: "sftp"
|
||||||
|
remote-host: "lbfalvy.com"
|
||||||
|
remote-user: "www-upload"
|
||||||
|
ssh-private-key: ${{ secrets.SSH_KEYFILE }}
|
||||||
|
remote-path: "lbfalvy.com"
|
||||||
Reference in New Issue
Block a user