Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Prorupak committed Aug 28, 2024
1 parent b71b573 commit 353f635
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- development

jobs:
deploy_to_dev:
Expand Down Expand Up @@ -33,11 +34,12 @@ jobs:
- name: Execute Remote Commands
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.USERNAME }}@${{ secrets.HOST }} << EOF
eval "$(ssh-agent -s)"
cd ./plugin/figma-plugin-sample
git fetch --all
git checkout master
git pull origin master
git reset --hard origin/master
docker compose up --build
git checkout development
git reset --hard origin/development
git pull origin development
node -v
EOF

0 comments on commit 353f635

Please sign in to comment.