mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-02 15:04:18 -06:00
add extraArgs
This commit is contained in:
parent
54f55b3cb2
commit
2ec4ecc90e
1 changed files with 9 additions and 2 deletions
11
.github/workflows/update.yml
vendored
11
.github/workflows/update.yml
vendored
|
@ -12,6 +12,11 @@ on:
|
||||||
description: "list of nix flake inputs"
|
description: "list of nix flake inputs"
|
||||||
default: ""
|
default: ""
|
||||||
type: "string"
|
type: "string"
|
||||||
|
extraArgs:
|
||||||
|
description: "postional args forwared to nix"
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
|
||||||
|
|
||||||
# schedule:
|
# schedule:
|
||||||
# # At minute 00:00 on Monday, Wednesday, and Friday.
|
# # At minute 00:00 on Monday, Wednesday, and Friday.
|
||||||
|
@ -20,6 +25,7 @@ on:
|
||||||
env:
|
env:
|
||||||
hosts: ${{ github.event_name == 'schedule' && 'othalan,algiz' || github.event.inputs.hosts }}
|
hosts: ${{ github.event_name == 'schedule' && 'othalan,algiz' || github.event.inputs.hosts }}
|
||||||
flake-inputs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.flake-inputs }}
|
flake-inputs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.flake-inputs }}
|
||||||
|
extraArgs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.extraArgs }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -63,7 +69,8 @@ jobs:
|
||||||
--flake .
|
--flake .
|
||||||
-vv
|
-vv
|
||||||
--
|
--
|
||||||
--quiet
|
${{ env.extraArgs }}
|
||||||
|
|
||||||
|
|
||||||
- name: Commit Updates
|
- name: Commit Updates
|
||||||
uses: daylin-bot/actions/commit-and-push@main
|
uses: daylin-bot/actions/commit-and-push@main
|
||||||
|
@ -98,7 +105,7 @@ jobs:
|
||||||
--flake .
|
--flake .
|
||||||
-vv
|
-vv
|
||||||
--
|
--
|
||||||
--quiet
|
${{ env.extraArgs }}
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo "# system diffs" >> $GITHUB_STEP_SUMMARY
|
echo "# system diffs" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
Loading…
Reference in a new issue