Skip to content

🚑 Fix: caching. Delegate cache responsibility to browser as now `Expi… #3

🚑 Fix: caching. Delegate cache responsibility to browser as now `Expi…

🚑 Fix: caching. Delegate cache responsibility to browser as now `Expi… #3

Workflow file for this run

name: Converter
on:
release:
types: [ published ]
# TODO to remove
push:
branches: [ v3 ]
paths: [ "converter/**" ]
env:
PUBLIC_API_BASE_URL: https://sert.somespecial.one
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- run: pnpm install
- name: Build
run: pnpm converter:build
- uses: actions/upload-pages-artifact@v2
with:
path: converter/build
deploy:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2