intranet/.gitea/workflows/production-deploy.yaml
2024-08-13 15:52:32 -05:00

21 lines
558 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches:
- master
jobs:
Deploy:
runs-on: intranet
steps:
- run: echo "Pulling latest production code to C:\Symfony"
- name: Check out repository code
uses: actions/checkout@v4
with:
SSH-KEY: ${{secrets.read_key}}
SSH-KNOWN-HOSTS: gitea.jv.com,192.168.0.214
- name: Copy files to project dir
run: |
mkdir C:\SymfonyRunner
xcopy /E /I . C:\SymfonyRunner