mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2025-12-08 08:06:18 +00:00
Merge pull request #41 from yuradanyliuk/customize-artifact-name
Customize artifact name
This commit is contained in:
@@ -2,6 +2,10 @@ name: "Upload GitHub Pages artifact"
|
|||||||
description: "A composite action that prepares your static assets to be deployed to GitHub Pages"
|
description: "A composite action that prepares your static assets to be deployed to GitHub Pages"
|
||||||
author: "GitHub"
|
author: "GitHub"
|
||||||
inputs:
|
inputs:
|
||||||
|
name:
|
||||||
|
description: 'Artifact name'
|
||||||
|
required: false
|
||||||
|
default: 'github-pages'
|
||||||
path:
|
path:
|
||||||
description: "Path of the directory containing the static assets."
|
description: "Path of the directory containing the static assets."
|
||||||
required: true
|
required: true
|
||||||
@@ -67,6 +71,6 @@ runs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: github-pages
|
name: ${{ inputs.name }}
|
||||||
path: ${{ runner.temp }}/artifact.tar
|
path: ${{ runner.temp }}/artifact.tar
|
||||||
retention-days: ${{ inputs.retention-days }}
|
retention-days: ${{ inputs.retention-days }}
|
||||||
|
|||||||
Reference in New Issue
Block a user