Skip to content

Update pages.yml

Update pages.yml #159

Workflow file for this run

name: Deploy Jekyll to Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- name: Debug list includes
run: |
echo "PWD:"
pwd
echo "Root listing:"
ls -la
echo "---- _includes ----"
ls -la _includes || true
# Build Jekyll without needing a Gemfile in the repo
- uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- uses: actions/upload-pages-artifact@v3

Check failure on line 38 in .github/workflows/pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4