Skip to content

Commit

Permalink
Added support for RefToBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
bjasspa committed Dec 24, 2024
1 parent 9e25dd4 commit a947a9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-webpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Build web-pages (Ubuntu-latest)
on:
workflow_dispatch:
branches: [ main ]
inputs:
refToBuild:
description: 'Tag or commit SHA1 to build - must be on main'
default: ''
required: false
type: string

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -18,6 +24,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.refToBuild }}

- name: Compile nroff tools
run: |
Expand All @@ -29,7 +37,6 @@ jobs:
export PATH=`pwd`/nroff/bin/linux:$PATH
cd ./microemacs/doc
make web_pages/me/index.html
unzip --help
- name: Build package store
run: |
Expand Down

0 comments on commit a947a9a

Please sign in to comment.