diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..320e597 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + -master +name: Deploy to Production +jobs: + FTP-Deploy-Action: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: Get latest code + uses: actions/checkout@v2 + with: + fetch-depth:2 + - name: Deploy to Production + uses: SamKirkland/FTP-Deploy-Action@4.1.0 + with: + server: 157.245.109.240 + username: root + password: 'M