Skip to content

fix of the yaml syntax #3

fix of the yaml syntax

fix of the yaml syntax #3

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: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: mbstring, intl, curl, dom, pdo, pdo_mysql
- 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 \;