Skip to content

Commit

Permalink
chmod deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
cheehongw committed Nov 13, 2023
1 parent 3698ba4 commit c25ccf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
instance_name: 'peerprep-prod'
zone: 'asia-southeast1-b'
ssh_private_key: '${{ secrets.SSH_KEY }}'
command: 'echo "${{ secrets.ENV_FILE }}" | sudo tee /usr/src/peerprep/.env > /dev/null && sudo /usr/src/peerprep/scripts/init.sh'
command: 'echo "${{ secrets.ENV_FILE }}" | sudo tee /usr/src/peerprep/.env > /dev/null && sudo chmod 777 /usr/src/peerprep/scripts/init.sh && sudo /usr/src/peerprep/scripts/init.sh'

- id: 'test'
run: |-
Expand Down

0 comments on commit c25ccf2

Please sign in to comment.