Skip to content

Merge pull request #2 from hello-ulises/11ty-action #2

Merge pull request #2 from hello-ulises/11ty-action

Merge pull request #2 from hello-ulises/11ty-action #2

name: Eleventy build and deploy
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Eleventy site
uses: actions/setup-node@v3
with:
node-version: 18
run: |
docker run \
npm install \
npm run eleventy
- name: Rsync Deployments Action
# You may pin to the exact commit or the version.
# uses: Burnett01/rsync-deployments@2651e3eecb4ea772cbe952695d04952e92027b4f
uses: Burnett01/[email protected]
with:
# The switches
switches: -r --delete-after
# The local path
path: _site/
# The remote path
remote_path: ~/www/dev.ulises.us/
# The remote host
remote_host: ulises.us
# The remote user
remote_user: ulisesus
# The remote key
remote_key: ${{ secrets.GREENGEEKS_KEY }}