Skip to content

Commit

Permalink
Update push_to_cache.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues authored Nov 9, 2024
1 parent 7438ad8 commit 9c11c9f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/push_to_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
- name: Build lolhello.nix
run: nix-build lolhello.nix

# - name: Create AWS Credentials File
# run: |
# mkdir -p ~/.aws
# echo "[digitalocean]" > ~/.aws/credentials
# echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials
# echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials

# - name: Move config file to right place
# run: |
# mv aws/config ~/.aws
- name: Create AWS Credentials File
run: |
mkdir -p ~/.aws
echo "[digitalocean]" > ~/.aws/credentials
echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials
echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials
- name: Move config file to right place
run: |
mv aws/config ~/.aws
- name: Push lolhello
run: |
Expand Down

0 comments on commit 9c11c9f

Please sign in to comment.