Skip to content

nmerget/download-gzip-artifact

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Gzip Artifact

This is a simple action to download an artifact and unpacks it with tar. Use Upload Gzip Artifact to upload an artifact with gzip compression.

How to use

---
name: Deploy to gh-pages

on:
  push:
    branches:
      - "main"

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - name: ⏬ Checkout repo
        uses: actions/checkout@v3

      - name: ⏬ Download build
        uses: nmerget/download-gzip-artifact@main
        with:
          name: frontend-build
          path: dist

      - name: 🥅 Deploy to GH-Pages
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./dist

Configuration

...
- name: ⏫ Upload build
  uses: nmerget/download-tar-artifact@main
  with:
    name: frontend-build # use the name of the uploaded artifact
    path: dist # your directory to unpack to
...

About

Downloads an artifact and unpacks it with tar

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors