Skip to content

AlexAegis/check-github-pages

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci

A github action to make your github pages metadata available in ci

Use

For a real-world usecase check the workflows of this repository!

name: simple-test

on:
  workflow_dispatch:
  push:
    branches: "**"

jobs:
  check-pages:
    runs-on: ubuntu-latest
    outputs:
      pages_enabled: ${{ steps.check_pages.outputs.is_enabled }}
    steps:
      - name: check if github pages is enabled
        id: check_pages
        uses: AlexAegis/check-github-pages@v1
  print:
    name: print results
    runs-on: ubuntu-latest
    if: needs.check-pages.outputs.is_enabled
    needs: [check-pages]
    steps:
      - name: print package data
        run: |
          echo pages are enabled!

About

Github Action to check if github pages is enabled on a repository

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published