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 6587792 commit e5a30eeCopy full SHA for e5a30ee
.github/workflows/deploy.yml
@@ -0,0 +1,31 @@
1
+name: deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - deploy-**
6
+
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v1
12
13
+ - name: create a deployment
14
+ uses: npm/action-deploy@v1
15
+ id: create-deployment
16
+ with:
17
+ type: create
18
+ token: ${{github.token}}
19
20
+ # add here an actual deployment
21
+ - name: placeholder for actual deployment
22
+ run: sleep 10s
23
24
+ - name: finish deployment
25
26
27
+ type: finish
28
29
+ status: success
30
+ deployment_id: ${{steps.create-deployment.outputs.deployment_id}}
31
0 commit comments