-
Notifications
You must be signed in to change notification settings - Fork 25
44 lines (40 loc) · 976 Bytes
/
main.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
35
36
37
38
39
40
41
42
43
44
name: Blog
on:
push:
branches:
- master
issues:
types:
[
opened,
closed,
edited,
milestoned,
labeled,
unlabeled,
reopened,
demilestoned,
]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19.x]
steps:
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/checkout@v3
with:
repository: Yidadaa/Issue-Blog-With-Github-Action
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget https://raw.githubusercontent.com/Yidadaa/Yidadaa.github.io/master/.github/workflows/cv.md -O ./src/cv.md
wget https://raw.githubusercontent.com/Yidadaa/Yidadaa.github.io/master/.github/workflows/custom.js -O ./src/.vuepress/custom.js
pnpm i
pnpm action
pnpm build
pnpm run deploy