make it work pls
This commit is contained in:
parent
2e715a9475
commit
3754ffe470
1 changed files with 2 additions and 3 deletions
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
|
@ -30,8 +30,8 @@ jobs:
|
||||||
- name: Set up secrets
|
- name: Set up secrets
|
||||||
run: |
|
run: |
|
||||||
echo "$NIX_CACHE_KEY" > ~/cache.key
|
echo "$NIX_CACHE_KEY" > ~/cache.key
|
||||||
mkdir ~/.aws
|
sudo mkdir /root/.aws
|
||||||
echo "$AWS_CREDENTIALS" > ~/.aws/credentials
|
echo "$AWS_CREDENTIALS" | sudo tee /root/.aws/credentials > /dev/null
|
||||||
env:
|
env:
|
||||||
NIX_CACHE_KEY: ${{secrets.NIX_CACHE_KEY}}
|
NIX_CACHE_KEY: ${{secrets.NIX_CACHE_KEY}}
|
||||||
AWS_CREDENTIALS: ${{secrets.AWS_CREDENTIALS}}
|
AWS_CREDENTIALS: ${{secrets.AWS_CREDENTIALS}}
|
||||||
|
@ -43,7 +43,6 @@ jobs:
|
||||||
run: nix fmt
|
run: nix fmt
|
||||||
- name: Delete secrets
|
- name: Delete secrets
|
||||||
run: |
|
run: |
|
||||||
rm -rf ~/.aws
|
|
||||||
rm ~/cache.key
|
rm ~/cache.key
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
uses: peter-evans/create-pull-request@v4.2.0
|
uses: peter-evans/create-pull-request@v4.2.0
|
||||||
|
|
Reference in a new issue