Fix website deploy scripts to deploy new version (#503) #1567
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
catchall: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= | |
extra-substituters = https://cache.garnix.io | |
fallback = true | |
- name: Remove /opt to free up disk space | |
run: sudo rm -rf /opt/* | |
- name: Set up git user | |
run: | | |
git config --global user.name "ci-test-user" | |
git config --global user.email "[email protected]" | |
- uses: lriesebos/nix-develop-command@v1 | |
with: | |
command: "just github-ci" |