Skip to content

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

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

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

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 \

Check failure on line 18 in .github/workflows/eleventy-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/eleventy-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
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 }}