Skip to content

Build

Build #33

Workflow file for this run

name: Build
on:
workflow_dispatch:
inputs:
debug:
type: string
default: 'false'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Deploy
run: chmod 755 ./deploy.sh && ./deploy.sh
- name: Generate
run: chmod 755 ./generate.sh && ./generate.sh
- name: Git Push
run: |
export TZ='Asia/Shanghai'
git config --global user.name "fatedier"
git config --global user.email "fatedier@gmail.com"
git config --global push.default simple
git add -A ./docs/
git commit -am "Automate deploy."
git push --force --quiet "https://${GH_TOKEN}@github.com/gofrp/frp-site.git" master:master