Skip to content

Fix the wrong 'Join-Uses' page title #116

Fix the wrong 'Join-Uses' page title

Fix the wrong 'Join-Uses' page title #116

Workflow file for this run

name: site-deploy
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build site
run: |
HUGO_VERSION="$(head -n 1 HUGO_VERSION|tr '\n' ' '|sed 's/\s//g')"
rm -rf public/*
docker run -i -v "$(pwd):/src" floryn90/hugo:${HUGO_VERSION}-ext-alpine-ci
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
name: github-pages
retention-days: 1
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
token: ***

Check failure on line 36 in .github/workflows/site-deploy.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 36
timeout: 600000
error_count: 10
reporting_interval: 5000
artifact_name: github-pages
preview: false