Skip to content

Commit

Permalink
deploy commented
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko71k committed Dec 15, 2024
1 parent 6a8789f commit 3722afb
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Deploy Frontend
# name: Deploy Frontend

on:
push:
branches:
- testingWebpack
# on:
# push:
# branches:
# - testingWebpack

jobs:
deploy:
runs-on: ubuntu-latest
# jobs:
# deploy:
# runs-on: ubuntu-latest

steps:
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.VM_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "Host 37.139.40.252
StrictHostKeyChecking no" > ~/.ssh/config
- name: Execute script on VM
run: |
ssh [email protected] 'bash -s' <<EOF
./update_front.sh || exit 2
EOF
# steps:
# - name: Set up SSH
# run: |
# mkdir -p ~/.ssh
# echo "${{ secrets.VM_SSH_KEY }}" > ~/.ssh/id_ed25519
# chmod 600 ~/.ssh/id_ed25519
# echo "Host 37.139.40.252
# StrictHostKeyChecking no" > ~/.ssh/config
# - name: Execute script on VM
# run: |
# ssh [email protected] 'bash -s' <<EOF
# ./update_front.sh || exit 2
# EOF

0 comments on commit 3722afb

Please sign in to comment.