Skip to content

Commit

Permalink
ci: add input to reusable deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Sep 24, 2024
1 parent ce7813d commit 297964b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/reusable_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Reusable Nype Deploy CI

on:
workflow_call:
inputs:
INPUT_ENV:
type: string
secrets:
SSH_PRIVATE_KEY:
required: true
Expand All @@ -26,6 +29,12 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: |
echo '
${{ inputs.INPUT_ENV }}
' >> $GITHUB_ENV
echo $GITHUB_ENV
cat $GITHUB_ENV
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
Expand Down

0 comments on commit 297964b

Please sign in to comment.