-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b25a45e
commit f18db28
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,16 +26,15 @@ jobs: | |
- name: Build the app | ||
run: npm run build | ||
|
||
steps: | ||
- name: Print Secrets | ||
run: | | ||
echo "EC2 Host: ${{ secrets.EC2_HOST }}" | ||
echo "EC2 User: ${{ secrets.EC2_USER }}" | ||
echo "EC2 SSH Key: |" | ||
echo "${{ secrets.EC2_SSH_KEY }}" | ||
echo "This is just for debugging purposes. Make sure to remove it later." | ||
env: | ||
EC2_SSH_KEY: ${{ secrets.EC2_SSH_KEY }} | ||
- name: Print Secrets | ||
run: | | ||
echo "EC2 Host: ${{ secrets.EC2_HOST }}" | ||
echo "EC2 User: ${{ secrets.EC2_USER }}" | ||
echo "EC2 SSH Key: |" | ||
echo "${{ secrets.EC2_SSH_KEY }}" | ||
echo "This is just for debugging purposes. Make sure to remove it later." | ||
env: | ||
EC2_SSH_KEY: ${{ secrets.EC2_SSH_KEY }} | ||
|
||
- name: Copy files to EC2 | ||
uses: appleboy/[email protected] | ||
|