adicionar action para deploy #373
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Buildar o site" | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Baixar repositório | |
uses: actions/[email protected] | |
- name: Instalar nix | |
uses: cachix/install-nix-action@v20 | |
- name: Autenticar no cachix | |
uses: cachix/cachix-action@v12 | |
with: | |
name: gelos-icmc | |
authToken: '${{ secrets.CACHIX_KEY }}' | |
- name: Executar 'nix build' | |
run: nix build |