Skip to content

🚀 Deploy with Zip #4

🚀 Deploy with Zip

🚀 Deploy with Zip #4

Workflow file for this run

name: 🚀 Deploy with Zip
on:
workflow_dispatch:
inputs:
zip:
description: 'The url to the zip file'
required: true
jobs:
deploy:
name: 🚀 Deploy
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: 📦 Download zip file To '_site'
run: |
curl -L ${{ github.event.inputs.zip }} -o _site.zip
unzip _site.zip -d _site
find _site -name __MACOSX | xargs rm -rf
- name: 📦 Upload '_site'
uses: actions/upload-pages-artifact@v3
- name: 🚀 Deploy To GitHub Pages
uses: actions/deploy-pages@v4