Commit 1ca724c7 authored by Nicholas Bollweg's avatar Nicholas Bollweg
Browse files

merge upstream

parents e016a26b f90890db
......@@ -68,3 +68,36 @@ jobs:
- name: Test
run: |
doit test
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: jupyterlite dist ${{ github.run_number }}
path: ./dist
- name: Extract the app
run: |
tar -xvf ./dist/*.tgz
- name: Deploy to Production
id: prod
run: |
if [ "$REF" == 'refs/heads/main' ]
then
echo "::set-output name=vercel-args::--prod"
else
echo "::set-output name=vercel-args::"
fi
env:
REF: ${{ github.ref }}
- uses: amondnet/vercel-action@v20
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
vercel-args: ${{ steps.prod.outputs.vercel-args }}
working-directory: ./package
......@@ -129,3 +129,4 @@ app/kernels
# generated
docs/api/ts
.vercel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment