Skip to content

new deploy.yaml version #4

new deploy.yaml version

new deploy.yaml version #4

Workflow file for this run

name: Deploy PHP Application
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Deploy Application
env:
TARGET_PATH: ${{ secrets.TARGET_PATH }}
run: |
find . -path ./.git -prune -o -path ./.github -prune -o -exec cp -R --parents {} $TARGET_PATH \;