From 78f15c54c2e0d1f61abc9eec4d88ee020b191e95 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 2 Nov 2021 23:24:07 +0100 Subject: Feat/collapse: add collapsible/toggleable headers and outline layout in the preview panel (#139) * feat(preview): collapsible headings * feat(preview): collapsible headings * feat(collapse): change icons for headings * feat(collapse): * feat(collapse): use new uniorg and better looks * feat(collapse): fix typescript errors * fix(ci): better filter * feat(collapse): more small adjustments * feat(collapse): collapse all button * fix(collapse): fix global css * fix(cd): remove yarn and add export * fix(collapse): type-errors * fix(cd): fix format-all fucking up yml --- .github/workflows/cd.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to '.github/workflows/cd.yml') diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 21aafd9..2691d91 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,7 +4,7 @@ name: 'cd' on: push: - branches: [main] + branches: [main] defaults: run: shell: 'bash' @@ -14,16 +14,16 @@ jobs: outputs: ts: ${{ steps.filter.outputs.ts }} steps: - - uses: actions/checkout@v2 - - name: '[check if build necessary]' - uses: dorny/paths-filter@v2 - id: filter - with: - filters: | - ts: - - '**.ts' - - '**.tsx' - - '**.json' + - uses: actions/checkout@v2 + - name: '[check if build necessary]' + uses: dorny/paths-filter@v2 + id: filter + with: + filters: | + ts: + - '**.ts' + - '**.tsx' + - '**.json' build-deploy: name: '[cd|build-deploy]' runs-on: 'ubuntu-latest' @@ -45,8 +45,9 @@ jobs: git config --global url."https://github.com/".insteadOf ssh://git@github.com/ git config --global url."https://".insteadOf git:// git config --global url."https://".insteadOf ssh:// - yarn - yarn build + npm install + npm run build + npm run export - name: '[commit changes]' run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" -- cgit v1.2.3