Skip to content

Commit

Permalink
Merge pull request #41 from yuradanyliuk/customize-artifact-name
Browse files Browse the repository at this point in the history
Customize artifact name
  • Loading branch information
yoannchaudet authored Dec 8, 2022
2 parents 7390744 + b27b6af commit c8641e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: "Upload GitHub Pages artifact"
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
Expand Down Expand Up @@ -67,6 +71,6 @@ runs:
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: github-pages
name: ${{ inputs.name }}
path: ${{ runner.temp }}/artifact.tar
retention-days: ${{ inputs.retention-days }}

0 comments on commit c8641e8

Please sign in to comment.