Skip to content

fix invalid date (#73) #231

fix invalid date (#73)

fix invalid date (#73) #231

Workflow file for this run

name: Deploy the website to Github Pages
on:
push:
branches: ["zine", "main"]
pull_request:
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
defaults:
run:
shell: bash
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
steps:

Check failure on line 26 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / Deploy the website to Github Pages

Invalid workflow file

The workflow is not valid. .github/workflows/gh-pages.yml (Line: 26, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Change if you need git info
- name: Setup Zine
uses: kristoff-it/setup-zine@v1
with:
version: v0.10.2
- name: Build
run: zine release
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.event_name != 'pull_request'
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "public"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4