Skip to content

wndjs803 is testing out GitHub Actions 🚀 #4

wndjs803 is testing out GitHub Actions 🚀

wndjs803 is testing out GitHub Actions 🚀 #4

Workflow file for this run

name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
pull_request:
branches:
- main
types:
- closed
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd 2023WB-Team-N
git checkout main
git pull origin main
docker-compose down
docker container prune
docker image prune
docker-compose up --build