Skip to content

instructions-d-installation/web-installation-instruction-action

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

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-installation-instruction-action

Action for building webpage from install config file.

Usage

  path:
    description: Path to config file. Defaults to ./install.cfg
    default: ./install.cfg
  output:
    description: Path to directory, where the html file is written to. Defaults to ./public directory.
    default: ./public
  version:
    description: Version of web-installation-instruction to use. If not specified, uses the latest version.

Deploy to GH Pages on Change

  1. Follow the guide for enabling gh pages for your account.
  2. Set Settings > Pages > GitHub Pages > Build and deployment > Source to Deploy from a branch.
  3. Create a yaml file in .github/workflows folder (for example webpage.yaml) and put the following content into it:
name: Webpage

on:
  push:
    branches:
      - main
    paths:
      - "install.cfg"
  workflow_dispatch:

permissions:
  contents: write

jobs:
  webpage:
    runs-on: ubuntu-latest
    name: Compile Webpage
    steps:
      - uses: actions/checkout@v4
      - name: Compile Webpage
        uses: instructions-d-installation/[email protected]
      - name: Deploy Webpage
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          folder: ./public
  1. Push it. And wait for JamesIves/github-pages-deploy-action to do it's thing. (See actions.)
  2. Go to actions and execute the workflow at least once.
  3. Check under Settings > Pages > GitHub Pages > Build and deployment if Branch is set to gh-pages.

About

Action for building webpage from install config file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published