Skip to content

docs: add LEARNINGS.md and PR template for AI agent guidance (#98) #94

docs: add LEARNINGS.md and PR template for AI agent guidance (#98)

docs: add LEARNINGS.md and PR template for AI agent guidance (#98) #94

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
# Allow only one production deployment at a time
concurrency:
group: "pages"
cancel-in-progress: false
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: https://nitrocode.github.io/token-deathclock/
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/setup
- name: Build all generated files
run: npm run build
- name: Deploy to GitHub Pages (gh-pages branch)
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
# Preserve any existing PR preview directories across production deploys
keep_files: true
# Exclude non-site files from the deployment.
# Keep this list in sync with the exclude_assets in preview.yml
# (screenshots is an additional preview-only exclusion).
# .gitignore is excluded here too: if it lands in peaceiris's gh-pages temp
# clone, `git add --all` would silently skip script.js, styles.css and the
# generated data files (all listed in .gitignore).
exclude_assets: '.github,.gitignore,node_modules,tests,scripts,package-lock.json,package.json,milestones.yaml,project-stats.yaml'