Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy to Staging

on:
workflow_dispatch:
inputs:
sourceBranch:
description: 'Source Branch to Deploy'
required: true
default: 'main'

jobs:
deploy-to-staging:
runs-on: ubuntu-latest
steps:
- name: Checkout source branch
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.sourceBranch }}

- name: Force push to staging
run: git push origin +${{ github.event.inputs.sourceBranch }}:staging