From b8ac363661e7853e6e6084f65167e4a8d1976f35 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 31 Mar 2024 23:51:45 +0200 Subject: [PATCH] test --- .github/workflows/workflow.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 119e329..52bf78b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -502,28 +502,14 @@ jobs: needs: BuildModule runs-on: ubuntu-latest steps: - - name: Init empty repository - shell: pwsh - run: | - git init --initial-branch=main + - name: Checkout Code + uses: actions/checkout@v4 - name: Download docs artifact uses: actions/download-artifact@v4 with: name: docs - - name: Download linter settings - shell: pwsh - run: | - $ref = if ($env:GITHUB_REF -like "refs/pull/*/merge") { - $env:GITHUB_HEAD_REF - } else { - $env:GITHUB_REF_NAME - } - Write-Verbose "Ref: $ref" -Verbose - $null = New-Item -Path '.github/linters' -ItemType Directory -Force - Invoke-WebRequest -Uri "https://raw.githubusercontent.com/${{ github.repository }}/$ref/.github/linters/.textlintrc" -OutFile '.github/linters/.textlintrc' -Verbose - - name: Commit docs for linting id: commit-docs shell: pwsh