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

Bump cachix/cachix-action from 12 to 13 (#318) #304

Bump cachix/cachix-action from 12 to 13 (#318)

Bump cachix/cachix-action from 12 to 13 (#318) #304

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@v13
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 }}'