Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Blore authored and Nathan Blore committed Nov 25, 2023
1 parent d3043af commit a38a08f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Deploy to S3

on:
push:
branches:
- main
workflow_dispatch:
workflow_dispatch:
inputs:
branch:
description: 'Branch to deploy'
required: true

jobs:
deploy:
Expand All @@ -13,6 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }} # Use the selected branch from the input

- name: Set up AWS CLI
uses: aws-actions/configure-aws-credentials@v2
Expand Down

0 comments on commit a38a08f

Please sign in to comment.