mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2025-09-26 05:00:05 +00:00
github: disabled deploy workflow
This commit is contained in:
50
.github/workflows/deploy.yaml
vendored
50
.github/workflows/deploy.yaml
vendored
@@ -1,27 +1,27 @@
|
||||
name: Run Playbook
|
||||
# name: Run Playbook
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
# on:
|
||||
# push:
|
||||
# tags:
|
||||
# - "v*.*.*"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
submodules: recursive
|
||||
- name: Run Ansible-Playbook
|
||||
uses: dawidd6/action-ansible-playbook@v2
|
||||
with:
|
||||
playbook: run.yml
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
inventory: |
|
||||
[hosts]
|
||||
openpunk-vps ansible_host=96.30.199.68 ansible_user=root ansible_connection=ssh
|
||||
vault_password: ${{ secrets.VAULT_PASSWORD }}
|
||||
options: |
|
||||
--extra-vars domain=openpunk.com
|
||||
# jobs:
|
||||
# deploy:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Set up Git repository
|
||||
# uses: actions/checkout@v3
|
||||
# with:
|
||||
# ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
# submodules: recursive
|
||||
# - name: Run Ansible-Playbook
|
||||
# uses: dawidd6/action-ansible-playbook@v2
|
||||
# with:
|
||||
# playbook: run.yml
|
||||
# key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
# inventory: |
|
||||
# [hosts]
|
||||
# openpunk-vps ansible_host=96.30.199.68 ansible_user=root ansible_connection=ssh
|
||||
# vault_password: ${{ secrets.VAULT_PASSWORD }}
|
||||
# options: |
|
||||
# --extra-vars domain=openpunk.com
|
||||
|
Reference in New Issue
Block a user