Skip to content

Commit 9b74626

Browse files
committed
Update deploy tasks
1 parent 3c0cd9a commit 9b74626

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
node-version: '14'
1616
- run: npm install
1717
- run: make build
18-
- name: deploy
18+
- name: gh pages
1919
uses: peaceiris/actions-gh-pages@v3
2020
with:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222
publish_dir: ./dist
23+
- name: deploy
24+
run: |
25+
curl -XPOST -H "Authorization: ${{ secrets.DEPLOY_KEY }} ${{ secrets.DEPLOY_URL }} -F task=fetch_themes

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build:
88
@npm run build
99
@cp -r data dist
1010
@cp names.json dist
11+
@cp index.json dist
1112

1213
clean:
1314
@rm -fr dist

0 commit comments

Comments
 (0)