All checks were successful
Build / build (pull_request) Successful in 2m27s
- dont try pull the master branch in the deploy job
27 lines
471 B
YAML
27 lines
471 B
YAML
---
|
|
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: almalinux-8
|
|
container:
|
|
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
|
options: --privileged
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Run Terraform Apply
|
|
env:
|
|
VAULT_ROLEID: ${{ secrets.TERRAFORM_INCUS_VAULT_ROLEID }}
|
|
run: |
|
|
make apply
|