From e8c34aeb23fec5f6397af798744e4a85c3944cee Mon Sep 17 00:00:00 2001 From: Andrea Amantini Date: Thu, 8 Feb 2024 15:49:46 +0100 Subject: [PATCH] Link to squint vite build instead of CDN+importmap demo --- .github/workflows/main.yml | 51 ++++++++------------------------------ 1 file changed, 10 insertions(+), 41 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c8a8e8..7368776 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,47 +29,6 @@ jobs: yarn squint compile node dist/nextjournal/clojure_mode_tests.mjs - squint: - name: Static App / Squint Build - runs-on: ubuntu-latest - steps: - - name: 🛎 Checkout - uses: actions/checkout@v2 - - - name: 🔐 Google Auth - uses: google-github-actions/auth@v0 - with: - credentials_json: ${{ secrets.GCLOUD_SERVICE_KEY }} - - - name: 🔧 Setup Google Cloud SDK - uses: google-github-actions/setup-gcloud@v0.3.0 - - - name: 🔧 Install java - uses: actions/setup-java@v1 - with: - java-version: '11.0.7' - - - name: 🔧 Install clojure - uses: DeLaGuardo/setup-clojure@master - with: - bb: 'latest' - - - name: 🔎 Build Squint static CDN Demo - run: bb squint:demo:build - - - name: 📠 Copy static build to bucket under SHA - run: gsutil cp -r public gs://nextjournal-snapshots/clojure-mode/squint-build/${{ github.sha }} - - - name: ✅ Add link to Clojure Mode Squint Demo - uses: Sibz/github-status-action@v1 - with: - authToken: ${{secrets.GITHUB_TOKEN}} - context: 'CI / Static App / Squint' - description: 'Ready' - state: 'success' - sha: ${{github.event.pull_request.head.sha || github.sha}} - target_url: https://snapshots.nextjournal.com/clojure-mode/squint-build/${{ github.sha }}/squint-cdn-demo - snapshot: name: Static App / Build runs-on: ubuntu-latest @@ -127,6 +86,16 @@ jobs: sha: ${{github.event.pull_request.head.sha || github.sha}} target_url: https://snapshots.nextjournal.com/clojure-mode/build/${{ github.sha }} + - name: ✅ Add link to Clojure Mode Demo + uses: Sibz/github-status-action@v1 + with: + authToken: ${{secrets.GITHUB_TOKEN}} + context: 'CI / Static App / Squint Build' + description: 'Ready' + state: 'success' + sha: ${{github.event.pull_request.head.sha || github.sha}} + target_url: https://snapshots.nextjournal.com/clojure-mode/build/${{ github.sha }}/squint/dist/ + - name: ✅ Add link to LiveDoc Demo uses: Sibz/github-status-action@v1 with: