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.
0 parents commit d9027d6Copy full SHA for d9027d6
.github/workflows/_deploy.yml
@@ -0,0 +1,28 @@
1
+# A reusable workflow that deploys the contents of a repository to a target environment.
2
+
3
+name: Deploy
4
5
+permissions:
6
+ id-token: write
7
+ contents: read
8
9
+on:
10
+ workflow_call:
11
+ inputs:
12
+ environment:
13
+ type: string
14
+ required: true
15
16
+jobs:
17
+ deploy:
18
+ runs-on: ubuntu-latest
19
+ environment: ${{ inputs.environment }}
20
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v2
24
25
+ - name: Deploy
26
+ run: |
27
+ echo "Deploying to ${{ inputs.environment }} environment"
28
+ echo "${{ vars.MESSAGE }}"
0 commit comments