Skip to content

Commit

Permalink
Merge pull request #19 from seekingalpha/scheduled-events_create_depl…
Browse files Browse the repository at this point in the history
…oy_workflow

create deploy workflow
  • Loading branch information
yardenasadosa authored Apr 1, 2024
2 parents 8354da6 + 91bd21d commit a948958
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on:
workflow_dispatch:
inputs:
version:
type: string
description: |
RC version + git commit number.
For a list of available versions, look in
s3://seekingalpha-rocketchat-builds/
for rocket.chat-VERSION.tgz
Special versions:
latest = version last built
staging = version last deployed to staging
production = version last deployed to production
required: true

environment:
type: choice
description: chose the AWS environment
options:
- staging
- production

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

defaults:
run:
shell: bash

jobs:
deploy:
name: deploy
environment: ${{ inputs.environment }}
runs-on: [rocketchat]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: test
run: |
echo "test"

0 comments on commit a948958

Please sign in to comment.