Skip to content

Update publish-to-pages.yml #16

Update publish-to-pages.yml

Update publish-to-pages.yml #16

Workflow file for this run

name: Deploy Jekyll site to Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build site
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
#deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
steps:

Check failure on line 44 in .github/workflows/jekyll.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/jekyll.yml

Invalid workflow file

You have an error in your yaml syntax on line 44
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2