intranet/.gitea/workflows/production-deploy.yaml

22 lines
639 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,SHA256:08SFW9e5ce8In8snszsNLhxCQseW4dQhXNHMH2z5uB8
SSH-STRICT: 'false'
- name: Copy files to project dir
run: |
mkdir C:\SymfonyRunner
xcopy /E /I . C:\SymfonyRunner