From d43f02cd343ec2f2cefae19e0b64951eeb18e084 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Thu, 5 Sep 2024 20:03:47 +0200 Subject: [PATCH] Delete .github/workflows/upload-pages-artifact.yaml --- .github/workflows/upload-pages-artifact.yaml | 57 -------------------- 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/upload-pages-artifact.yaml diff --git a/.github/workflows/upload-pages-artifact.yaml b/.github/workflows/upload-pages-artifact.yaml deleted file mode 100644 index 34b8174..0000000 --- a/.github/workflows/upload-pages-artifact.yaml +++ /dev/null @@ -1,57 +0,0 @@ -name: "Upload GitHub Pages artifact" - -on: - # Trigger the workflow every time you push to the `main` branch - # Using a different branch name? Replace `main` with your branch’s name - push: - branches: [ main ] - # Allows you to run this workflow manually from the Actions tab on GitHub. - workflow_dispatch: - -description: "A composite action that prepares your static assets to be deployed to GitHub Pages" -author: "GitHub" -inputs: - name: - description: 'Artifact name' - required: false - default: 'github-pages' - path: - description: "Path of the directory containing the static assets." - required: true - default: "_site/" - retention-days: - description: "Duration after which artifact will expire in days." - required: false - default: "10" -outputs: - artifact_id: - description: "The ID of the artifact that was uploaded." - value: ${{ steps.upload-artifact.outputs.artifact-id }} -runs: - using: composite - steps: - - name: Archive artifact - shell: sh - if: runner.os == 'Linux' - run: | - echo ::group::Archive artifact - tar \ - --dereference --hard-dereference \ - --directory "$INPUT_PATH" \ - -cvf "$RUNNER_TEMP/artifact.tar" \ - --exclude=.git \ - --exclude=.github \ - . - echo ::endgroup:: - env: - INPUT_PATH: ${{ inputs.path }} - - - - name: Upload artifact - id: upload-artifact - uses: actions/upload-artifact@v4 - with: - name: ${{ inputs.name }} - path: ${{ runner.temp }}/artifact.tar - retention-days: ${{ inputs.retention-days }} - if-no-files-found: error