ci: nmsl

Changed files
+4 -4
.github
workflows
+4 -4
.github/workflows/build.yaml
···
# again, prs welcome!
- name: Write Nix netrc file
run: |
-
mkdir -p /etc/nix
-
echo "machine nonbunary.soopy.moe password ${access_token}" > /etc/nix/netrc
+
sudo mkdir -p /etc/nix
+
echo "machine nonbunary.soopy.moe password ${access_token}" | sudo tee /etc/nix/netrc > dev/null
env:
access_token: ${{ secrets.ATTIC_ACCESS_TOKEN }}
···
- name: Write Nix netrc file
run: |
-
mkdir -p /etc/nix
-
echo "machine nonbunary.soopy.moe password ${access_token}" > /etc/nix/netrc
+
sudo mkdir -p /etc/nix
+
echo "machine nonbunary.soopy.moe password ${access_token}" | sudo tee /etc/nix/netrc > dev/null
env:
access_token: ${{ secrets.ATTIC_ACCESS_TOKEN }}