Skip to content

Instantly share code, notes, and snippets.

@diogenesc
Created May 3, 2022 16:20
Show Gist options
  • Save diogenesc/81c8e0ac84c7437e5d6e65b7f9b7f6fd to your computer and use it in GitHub Desktop.
Save diogenesc/81c8e0ac84c7437e5d6e65b7f9b7f6fd to your computer and use it in GitHub Desktop.
Workflow Dispatch
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
church:
description: 'Church identifier'
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "update"
update:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# SSH
- name: Update App Version
run: echo $CHURCH
env:
CHURCH: ${{ github.event.inputs.church }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment