-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 1.08 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
# For scheduled deployment with Cron Jobs.
## Examples of cron schedule expressions:
### '0 * * * *': hourly
### '0 0 * * *': daily
### '0 0 1 * *': monthly
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: reposense/reposense-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }} # Required
version: 'release' # Optional | Default: release | Other: master/tag v1.6.1/etc
configDirectory: 'configs' # Optional | Default: configs
service: 'gh-pages' # Optional | Default: gh-pages | Other: surge
cliArgs: '--since d1' # Optional | Default: ''
- uses: reposense/reposense-action@main
with:
token: ${{ secrets.SURGE_TOKEN }} # Required
version: 'release' # Optional | Default: release | Other: master/tag v1.6.1/etc
configDirectory: 'configs' # Optional | Default: configs
service: 'surge'
domain: 'reposense-action.surge.sh'
cliArgs: '--since d1' # Optional | Default: ''