Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

fix CI badge (#315) #301

fix CI badge (#315)

fix CI badge (#315) #301

Workflow file for this run

name: "CI"
on:
pull_request:
push:
branches:
- master
- staging
- trying
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipNixBuild: true
- run: ./ci.sh
- uses: actions/upload-artifact@v3
with:
name: wasm
path: wasm
deploy:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: wasm
path: wasm
- run: ./deploy.sh
env:
DEPLOY_SSH_KEY: '${{ secrets.DEPLOY_SSH_KEY }}'