Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about github actions yml #11

Open
54108 opened this issue Jun 28, 2024 · 0 comments
Open

Questions about github actions yml #11

54108 opened this issue Jun 28, 2024 · 0 comments

Comments

@54108
Copy link

54108 commented Jun 28, 2024

Warning: No files were found with the provided path: _site. No artifacts will be uploaded.
按文章的来但是出现了这个报错
`name: Build and Test

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
  uses: actions/checkout@v4
  
- name: Setup Node.js environment
  uses: actions/[email protected]
  with:
    node-version: 20
    
- run: npm install -g bats

- run: bats -v
  
- name: Upload a Build Artifact
  uses: actions/[email protected]
  with:
    name: 'my-blog'
    path: '_site'
    `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant