Skip to content

💚 Fix download artifact #7

💚 Fix download artifact

💚 Fix download artifact #7

Workflow file for this run

name: CD
on:
push:
branches:
- main
workflow_run:
workflows: ["CI"]
types:
- completed
jobs:
deploy:
runs-on: ${{ matrix.operating-system }}
environment:
name: production
url: https://sigui.ci
permissions:
id-token: write
contents: read
defaults:
run:
working-directory: ./jsr
strategy:
matrix:
operating-system: [ubuntu-latest]
deno-version: [1.43.6]
name: 🚀 Deploy colorwind to JSR using Deno ${{ matrix.deno-version }}
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 🔨 Configure Deno
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: 🚚 Download Deno distribution files
uses: actions/download-artifact@v4
with:
name: deno_dist
path: jsr
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 🚀 Publish to JSR
run: deno publish