Skip to content

Merge branch 'main' into FE #20

Merge branch 'main' into FE

Merge branch 'main' into FE #20

Workflow file for this run

name: deploy

Check failure on line 1 in .github/workflows/frontCICD.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/frontCICD.yml

Invalid workflow file

`workflow_dispathch` is not a valid event name
on:
push:
branches: [ 'main' ]
workflow_dispathch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
SSH:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run scripts in server
uses: appleboy/ssh-action@master
with:
key: ${{ secrets.FRONT_EC2_SSH_KEY }}
host: ${{ secrets.FRONT_EC2_HOST }}
username: ${{ secrets.FRONT_EC2_USER }}
script: |
pwd