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 657ed40 commit 2cf1892
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 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,10 @@ 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 2cf1892

Please sign in to comment.