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