Skip to content

uukelele-scratch/repo2static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repo2static

A GitHub action to give your repository a static Pages website.

Usage

  1. Enable Pages for your repo @ https://github.com/user/repo/settings/pages

  2. Create a GitHub workflow @ .github/workflows/deploy-readme.yml:

name: Deploy to Pages

on:
  push:
    branches: [ "main", "master" ]
    paths:
      - "README.md"
      - "readme.md"
  workflow_dispatch:

permissions:
  pages: write
  id-token: write
  contents: read

jobs:
  deploy:
    uses: uukelele-scratch/repo2static/.github/workflows/deploy.yml@main
  1. Go to Actions and trigger a workflow run for Deploy.

About

A GitHub action to give your repository a static Pages website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published