forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from seekingalpha/scheduled-events_create_depl…
…oy_workflow create deploy workflow
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |