Skip to content

Merge pull request #17 from nitrocode/copilot/add-fun-things-for-humans #12

Merge pull request #17 from nitrocode/copilot/add-fun-things-for-humans

Merge pull request #17 from nitrocode/copilot/add-fun-things-for-humans #12

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:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to GitHub Pages (gh-pages branch)
uses: peaceiris/actions-gh-pages@v4
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
exclude_assets: '.github,node_modules,tests,package-lock.json,package.json'