Update manual.yml

This commit is contained in:
Henrik
2023-01-20 18:17:42 +01:00
committed by GitHub
parent 3625f2d8c9
commit 3249e80e4c

View File

@@ -8,7 +8,7 @@ on:
workflow_dispatch: workflow_dispatch:
# Inputs the workflow accepts. # Inputs the workflow accepts.
inputs: inputs:
name: version:
# Friendly description to be shown in the UI instead of 'name' # Friendly description to be shown in the UI instead of 'name'
description: 'Version (YY.M.X)' description: 'Version (YY.M.X)'
# Default value if no value is explicitly provided # Default value if no value is explicitly provided
@@ -44,6 +44,8 @@ jobs:
run: ls html/ run: ls html/
- name: Add the changes - name: Add the changes
run: git add pixartmin.htm run: git add pixartmin.htm
- name: Set version_string variable
run: echo "::set-env name=version_string::Version ${{ inputs.version }}"
- name: Commit the changes - name: Commit the changes
run: git -c user.name=${{ secrets.NAME }} -c user.email=${{ secrets.EMAIL }} commit -m "Add pixartmin.htm" run: git -c user.name=${{ secrets.NAME }} -c user.email=${{ secrets.EMAIL }} commit -m "Add pixartmin.htm"
- name: Push the changes - name: Push the changes