Skip to content

Commit

Permalink
🔧 fix: pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rettend committed Oct 29, 2023
1 parent e6c539f commit 95af435
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"@antfu"
],
"rules": {
"no-console": "warn"
"no-console": "warn",
"yml/no-empty-mapping-value": "off"
},
"ignorePatterns": [
"coverage",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/json.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
name: Deploy JSON Schema to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,7 +18,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
group: pages
cancel-in-progress: false

jobs:
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
# only upload the eemoji-config-schema.json file
path: eemoji-config-schema.json
path: ./eemoji-config-schema.json
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"json.schemas": [
{
"fileMatch": [
"/config.json"
"/eemojirc.json"
],
"url": "./eemoji-config-schema.json"
}
]
}
}
2 changes: 1 addition & 1 deletion eemoji-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
}
}
}
}
}
7 changes: 5 additions & 2 deletions eemojirc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"format": "asd"
}
"emojis": {
"feat": "😎"
},
"format": "{emoji} {type} - {subject}"
}

0 comments on commit 95af435

Please sign in to comment.