Skip to content

更新github link

更新github link #157

Workflow file for this run

name: Learn
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
BUCKET: ${{ secrets.BUCKET }}
REGION: ${{ secrets.REGION }}
ACCESSKEYSECRET: ${{ secrets.ACCESSKEYSECRET }}
ACCESSKEYID: ${{ secrets.ACCESSKEYID }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 14
- name: npm i
run: |
npm i
npx ts-node copyTheme.ts
npx hexo g
npx ts-node -T ./oss.ts
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: public # The folder the action should deploy.