Skip to content

Fix Google Search Console warnings: uploadDate timezone and old blog … #138

Fix Google Search Console warnings: uploadDate timezone and old blog …

Fix Google Search Console warnings: uploadDate timezone and old blog … #138

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
env:
NODE_ENV: production
- name: Verify build output
run: |
if [ ! -f "out/index.html" ]; then
echo "ERROR: out/index.html not found!"
exit 1
fi
echo "Build output pages:"
find out -name "*.html" | sort
echo ""
echo "Build successful"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
force_orphan: true
cname: kubesimplify.com