Skip to content

Commit

Permalink
Implementa CD com VM
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconiGRF committed May 30, 2024
1 parent 3c3dfa1 commit f68907f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-manual.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy manual
on:
push:
branches:
["master", "feat/ci-cd"]
workflow_dispatch:
permissions:
contents: read

jobs:
deploy:
runs-on:
- self-hosted
- linux
- x64
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: './manual'
- name: Copy changes
shell: bash
run: |
rm -rf ${{ secrets.VM_MANUAL_PATH }}/*
cp -r ./manual/* ${{ secrets.VM_MANUAL_PATH }}

0 comments on commit f68907f

Please sign in to comment.