Skip to content

Prefer SSH keys when mkpasswd is unavailable #14

Prefer SSH keys when mkpasswd is unavailable

Prefer SSH keys when mkpasswd is unavailable #14

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
tag:
description: 'Release tag (e.g. v1.1.2)'
required: true
type: string
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build distribution
run: |
chmod +x build-dist.sh
./build-dist.sh
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: dist/shipnode-installer.sh
generate_release_notes: true
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}