upload-pages-artifact
README.md
GitVerse Upload Pages Artifact
A composite action that prepares your static assets to be deployed to GitVerse Pages.
Description
This action packages static files into a tar archive and uploads them as an artifact for subsequent deployment to GitVerse Pages. It supports all major operating systems: Linux, macOS, and Windows.
Usage
Add this step to your GitVerse Actions workflow to upload pages artifact:
Workflow Example
Inputs
| Parameter | Required | Default | Description |
|---|---|---|---|
| No | | Artifact name |
| Yes | | Path to the directory containing static assets |
| No | | Duration after which artifact will expire in days |
Outputs
| Parameter | Description |
|---|---|
| The ID of the artifact that was uploaded |
Features
- Automatic exclusion of service directories (
,.git,.github).gitverse - Exclusion of hidden files and directories
- Cross-platform support (Linux, macOS, Windows)
- Uses hard dereference for proper symbolic link handling
Requirements
- GitVerse Actions runner with composite actions support
- GNU tar (
) required for macOSgtar