pingcap / ossinsight-lite

🚧[WIP] Yet another customizable free GitHub stats dashboard based on TiDB Serverless: https://ossinsight-lite.vercel.app, hand-drawn style.
https://ossinsight-lite.vercel.app
Apache License 2.0
383 stars 121 forks source link

include GitHub Actions workflow files with deploy button #138

Closed hooopo closed 1 year ago

hooopo commented 1 year ago

By default, Vercel excludes the .github directory when deploying your project, which includes GitHub Actions workflow files. This is because Vercel handles deployments on its platform, outside of the GitHub Actions infrastructure.

However, if you want to include GitHub Actions workflow files in your Vercel deployment for some reason, there's a workaround by using the vercel.json configuration file:

  1. Add a vercel.json file in the root directory of your project and include the .github directory in the includeFiles attribute:
{
    "includeFiles": ".github/**"
}
vercel[bot] commented 1 year ago

Deployment failed with the following error:

should NOT have additional property `includeFiles`