This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/.github/workflows/deploy-deno.yml

37 lines
704 B
YAML
Raw Normal View History

2023-09-02 17:09:26 -05:00
name: Deploy to Deno
on:
push:
branches:
- "main"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
2024-02-07 08:56:06 -05:00
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: "^18.17.0"
cache: "pnpm"
2023-09-02 17:09:26 -05:00
- run: pnpm install --frozen-lockfile
- run: pnpm run build --s2f-use-deno
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: share2fedi
entrypoint: server/entry.mjs
root: dist