Skip to content

Download and Cat Artifact #31

Download and Cat Artifact

Download and Cat Artifact #31

Workflow file for this run

name: Download and Cat Artifact
on:
workflow_run:
workflows: ["Create and Upload Artifact"]
types:
- completed
permissions:
actions: read
jobs:
download-artifact:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: vercel
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Cat artifact
run: ls -R .
# - name: install node
# uses: actions/setup-node@v2
# with:
# node-version: "18"
# - name: install vercel cli
# run: npm install -g vercel
# - name: deploy site
# run: vercel deploy --prebuilt