SyntaxError: Invalid or unexpected token at Object.compileFunction (vm.js:344:18) at wrapSafe (internal/modules/cjs/loader.js:1106:15) at Module._compile (internal/modules/cjs/loader.js:1140:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10) at Module.load (internal/modules/cjs/loader.js:1040:32) at Function.Module._load (internal/modules/cjs/loader.js:929:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47
jobs: build: runs-on:ubuntu-latest name:Ajobtodeployblog. steps: -name:Checkout uses:actions/checkout@v1 with: submodules:true# Checkout private submodules(themes or something else). # Caching dependencies to speed up workflows. (GitHub will remove any cache entries that have not been accessed in over 7 days.) -name:Cachenodemodules uses:actions/cache@v1 id:cache with: path:node_modules key:${{runner.os}}-node-${{hashFiles('**/package-lock.json')}} restore-keys:| ${{ runner.os }}-node- -name:InstallDependencies if:steps.cache.outputs.cache-hit!='true' run:npmci #run: npm install # Deploy hexo blog website. -name:Deploy id:deploy uses:sma11black/hexo-action@v1.0.3 with: deploy_key:${{secrets.DEPLOY_KEY}} #user_name: your github username # (or delete this input setting to use bot account) #user_email: your github useremail # (or delete this input setting to use bot account) #commit_msg: ${{ github.event.head_commit.message }} # (or delete this input setting to use hexo default settings) # Use the output from the `deploy` step(use for test action) -name:Gettheoutput run:| echo"${{ steps.deploy.outputs.notify }}"