ci: move src/ -> scripts/, deno.json to repo root (#332)

This commit is contained in:
winston authored and GitHub committed 2023-11-18 07:18:08 +01:00
1 parent f977c5a64c
commit 790e7cb83c
21 files changed
+21 -26

No files matched your search

+4 -5
View File
@@ -4,10 +4,10 @@ on:
workflow_dispatch:
push:
paths:
- "src/userstyles.yml"
- "scripts/userstyles.yml"
env:
DENO_DIR: deno_cache
DENO_DIR: /tmp/deno_cache
jobs:
sync-maintainers:
@@ -27,12 +27,11 @@ jobs:
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
key: ${{ hashFiles('src/deno.lock') }}
key: ${{ hashFiles('./deno.lock') }}
path: ${{ env.DENO_DIR }}
- name: Sync maintainers
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
working-directory: ./src
run: deno task sync-maintainers
run: deno task ci:sync-maintainers
env:
GITHUB_TOKEN: ${{ secrets.USERSTYLES_TOKEN }}