From 3ce78c749dde0832ed2d755398d3d2f67ba463af Mon Sep 17 00:00:00 2001 From: RanolP Date: Sat, 27 Apr 2024 02:10:14 +0900 Subject: [PATCH] ci: fix ci --- .github/workflows/deploy.yaml | 9 +++++++++ .github/workflows/lint.yaml | 16 ---------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8e02d69..813230e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -5,6 +5,15 @@ on: branches: - main +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: 'pages' + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 129fa8e..2c49061 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,19 +24,3 @@ jobs: - uses: stoplightio/spectral-action@v0.8.10 with: file_glob: 'tsp-output/*.yaml' - library-deployment: - needs: [lint] - runs-on: ubuntu-latest - if: github.event_name == 'push' - strategy: - matrix: - repo: - - 'solvedac/api.ts' - - 'solvedac/api.rs' - steps: - - name: Invoke Workflow - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: Follow Up - token: ${{ secrets.WORKFLOW_DISPATCH }} - repo: ${{ matrix.repo }}