Skip to content

Commit

Permalink
✨ Add option to deploy from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Feb 18, 2025
1 parent 64b74ac commit 859b324
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/fotoware-redirect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- development
- production
default: development
branch:
description: 'Enter the branch name in fotoware repository. Default is master'
default: master
type: string

env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand All @@ -27,6 +31,7 @@ jobs:
with:
repository: 'equinor/energyvision-fotoware-redirect'
ssh-key: '${{ secrets.DEPLOY_FUNCTION_KEY }}'
ref: ${{ github.event.inputs.branch }}
- name: Install pnpm 📦
id: install-pnpm
uses: pnpm/action-setup@v4
Expand Down

0 comments on commit 859b324

Please sign in to comment.