mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 18:35:14 +00:00
Refactor code for consistency and readability
- Standardized string quotes to double quotes across multiple files. - Improved formatting and indentation for better readability. - Added a function to format multiline text in tools rendering. - Enhanced dropdown and action button handlers for better event management. - Updated the theme application logic to initialize on page load. - Refactored utility functions for consistency and clarity. - Improved error handling and user feedback in download and share functionalities.
This commit is contained in:
23
.github/workflows/deploy-website.yml
vendored
23
.github/workflows/deploy-website.yml
vendored
@@ -8,14 +8,15 @@ on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- 'website/**'
|
||||
- 'agents/**'
|
||||
- 'prompts/**'
|
||||
- 'instructions/**'
|
||||
- 'skills/**'
|
||||
- 'collections/**'
|
||||
- 'eng/generate-website-data.mjs'
|
||||
- '.github/workflows/deploy-website.yml'
|
||||
- "website/**"
|
||||
- "agents/**"
|
||||
- "prompts/**"
|
||||
- "instructions/**"
|
||||
- "skills/**"
|
||||
- "collections/**"
|
||||
- "cookbook/**"
|
||||
- "eng/generate-website-data.mjs"
|
||||
- ".github/workflows/deploy-website.yml"
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
@@ -43,8 +44,8 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
node-version: "20"
|
||||
cache: "npm"
|
||||
|
||||
- name: Install root dependencies
|
||||
run: npm ci
|
||||
@@ -66,7 +67,7 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: './website/dist'
|
||||
path: "./website/dist"
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user