Update about-me.md #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Github-Pages from markdown files | |
on: | |
push: | |
branches: [ master ] | |
# pull_request: | |
# branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/checkout@v2 | |
- name: Run Export | |
run: | | |
export TZ='Asia/Shanghai' | |
npm install | |
npm run build | |
echo "icyfenix.cn" >> .vuepress/dist/CNAME | |
- name: Deploy Github-Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: .vuepress/dist | |
- name: Refresh CDN | |
run: npm run deoply:refresh-cdn | |
env: | |
CDN_ID: ${{ secrets.CDN_ID }} | |
CDN_KEY: ${{ secrets.CDN_KEY }} |