mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:08:11 +09:00
gitea update
This commit is contained in:
@@ -19,6 +19,16 @@ jobs:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
accept-flake-config = true
|
||||
- name: Prepare unsandboxed Nix builds
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [[ -e /homeless-shelter ]]; then
|
||||
if ((EUID == 0)); then
|
||||
rm -rf --one-file-system -- /homeless-shelter
|
||||
else
|
||||
sudo -n rm -rf --one-file-system -- /homeless-shelter
|
||||
fi
|
||||
fi
|
||||
- name: Build and publish the initial cache
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user