checkout before copying files
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
||||
name: build hive configuration
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- run: mkdir -p /var/secrets/
|
||||
- run: echo ${{ secrets.CACHE_PRIVKEY }} > /var/secrets/cache_privkey
|
||||
- run: cp ./scripts/upload-to-cache.sh /etc/nix/
|
||||
@@ -23,7 +23,6 @@ jobs:
|
||||
extra-substituters = http://localhost:5000
|
||||
secret-key-files = /var/secrets/cache_privkey
|
||||
post-build-hook = /etc/nix/upload-to-cache.sh
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user