Skip to content

Commit 9599498

Browse files
committed
add workflow_dispatch
1 parent abdd2a0 commit 9599498

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Generate and Deploy
33
on:
44
schedule:
55
- cron: '0 0 * * *'
6+
workflow_dispatch:
67

78
jobs:
89
generate:
@@ -40,7 +41,7 @@ jobs:
4041
with:
4142
args:
4243
zip -qq -r v${{ steps.package-version.outputs.current-version }}.zip
43-
public/v${{ steps.package-version.outputs.current-version }}
44+
public/v${{steps.package-version.outputs.current-version }}
4445

4546
- name: Upload Latest Release
4647
uses: actions/upload-artifact@v2
@@ -55,7 +56,7 @@ jobs:
5556
file: v${{ steps.package-version.outputs.current-version }}.zip
5657
asset_name: v${{ steps.package-version.outputs.current-version }}.zip
5758
tag: v${{ steps.package-version.outputs.current-version }}
58-
overwrite: true
59+
overwrite: true
5960

6061
- name: Deploy
6162
uses: peaceiris/actions-gh-pages@v3
@@ -64,5 +65,3 @@ jobs:
6465
publish_dir: ./public
6566
keep_files: true
6667
cname: dsearch.mask.r2d2.to
67-
68-

0 commit comments

Comments
 (0)