# This is a basic workflow to help you get started with Actions
name:Publish_blog
# Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "blog-src" ] pull_request: branches: [ "blog-src" ]
# Allows you to run this workflow manually from the Actions tab workflow_dispatch: env: TZ:Asia/Shanghai
# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "puslish" puslish: name:Hexoblogbuild&deploy runs-on:ubuntu-latest# using the latest ubuntu as build and deploy env
strategy: matrix: node-version: [14.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it -name:Checkoutcodes uses:actions/checkout@v3