upgrade actions #7
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: Deploy | |
on: | |
push: | |
branches: master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- name: crane auth login | |
shell: bash | |
run: > | |
nix shell .#crane --command | |
crane auth login registry.digitalocean.com | |
--username [email protected] | |
--password "${{ secrets.DIGITAL_OCEAN }}" | |
- run: nix build .#container --no-link | |
- run: nix develop .#deploy --command deploy-chris-martin |