Skip to content

Commit f432adb

Browse files
Merge pull request 0xPolygon#695 from 0xPolygon/sched-workflow
Added schedule workflow
2 parents 755553b + 14154b1 commit f432adb

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/dev_deployment.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
pull_request:
66
branches: ['dev']
77
workflow_dispatch:
8-
schedule:
9-
- cron: '*/30 * * * *'
108

119
jobs:
1210
deploy_staging:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Schedule Dev Deployment
2+
on:
3+
schedule:
4+
- cron: '*/30 * * * *'
5+
6+
jobs:
7+
trigger_dev_deployment:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Trigger dev deployment
11+
uses: benc-uk/workflow-dispatch@v1
12+
with:
13+
workflow: Docs Dev Deployment
14+
ref: dev
15+
token: ${{ secrets.ORG_DEVDEPLOY_TOKEN }}

0 commit comments

Comments
 (0)