We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed3982 commit 39d4fc0Copy full SHA for 39d4fc0
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
1
+name: Deploy
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ environment:
7
+ description: 'Target environment'
8
+ required: true
9
+ default: 'staging'
10
+ deployment_id:
11
+ description: 'OpenDev deployment ID'
12
13
+ branch:
14
+ description: 'Branch to deploy'
15
16
17
+jobs:
18
+ deploy:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ with:
23
+ ref: ${{ github.event.inputs.branch }}
24
25
+ - name: Deploy to ${{ github.event.inputs.environment }}
26
+ run: |
27
+ echo "Deploying branch ${{ github.event.inputs.branch }} to ${{ github.event.inputs.environment }}"
28
+ echo "Deployment ID: ${{ github.event.inputs.deployment_id }}"
29
+ echo "Deploy complete"
0 commit comments