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
|
||||
run: |
|
||||
echo "$NIX_CACHE_KEY" > ~/cache.key
|
||||
mkdir ~/.aws
|
||||
echo "$AWS_CREDENTIALS" > ~/.aws/credentials
|
||||
sudo mkdir /root/.aws
|
||||
echo "$AWS_CREDENTIALS" | sudo tee /root/.aws/credentials > /dev/null
|
||||
env:
|
||||
NIX_CACHE_KEY: ${{secrets.NIX_CACHE_KEY}}
|
||||
AWS_CREDENTIALS: ${{secrets.AWS_CREDENTIALS}}
|
||||
|
@ -43,7 +43,6 @@ jobs:
|
|||
run: nix fmt
|
||||
- name: Delete secrets
|
||||
run: |
|
||||
rm -rf ~/.aws
|
||||
rm ~/cache.key
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v4.2.0
|
||||
|
|
Reference in a new issue