Skip to content

Commit

Permalink
Update nixbin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc authored Aug 28, 2024
1 parent c0d7f0c commit 1966b39
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/nixbin.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build Nix Binary and Create Bash Script

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
inputs:
branch:
description: 'The branch to build from'
required: true
default: 'main'

jobs:
build:
Expand All @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}

- name: Install Nix
run: |
Expand Down Expand Up @@ -43,6 +45,3 @@ jobs:
echo "mkdir -p data" >> $GITHUB_WORKSPACE/run_nix_lnbits.sh
echo "\$(dirname \"\$0\")/lnbits/result/bin/lnbits --port 9000 --host 0.0.0.0" >> $GITHUB_WORKSPACE/run_nix_lnbits.sh
chmod +x $GITHUB_WORKSPACE/run_nix_lnbits.sh
- name: Ensure script is in root
run: ls -la $GITHUB_WORKSPACE/

0 comments on commit 1966b39

Please sign in to comment.