Skip to content

Commit

Permalink
Remove CSS and temporarly disable Slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Anboias committed Mar 26, 2024
1 parent 69a5823 commit a744e96
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 28,896 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,29 @@ jobs:
git commit -m "Generated build output" -a || exit 0 # This line prevents the action from failing if there's nothing to commit
git push
- name: Notify Slack about the update
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: |
{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "✅ Design Tokens updated!"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ github.event.head_commit.message }}"
}
}
]
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# - name: Notify Slack about the update
# uses: 8398a7/action-slack@v3
# with:
# status: custom
# custom_payload: |
# {
# "blocks": [
# {
# "type": "header",
# "text": {
# "type": "plain_text",
# "text": "✅ Design Tokens updated!"
# }
# },
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "${{ github.event.head_commit.message }}"
# }
# }
# ]
# }
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
14 changes: 1 addition & 13 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
module.exports = {
source: ["tokens/converted-tokens-w3c.json", "tokens/converted-tokens.json"],
source: ["tokens/converted-tokens-w3c.json"],
platforms: {
css: {
source: "tokens/converted-tokens.json",
transformGroup: "css",
buildPath: "converted/css/",
files: [
{
destination: "tokens.css",
format: "css/variables",
},
],
},
js: {
source: "tokens/converted-tokens-w3c.json",
transformGroup: "js",
buildPath: "converted/js/",
files: [
Expand Down
Loading

0 comments on commit a744e96

Please sign in to comment.