Skip to content

Build and Deploy

Build and Deploy #29

name: Build and Deploy
on:
workflow_dispatch:
env:
VAGRANT_CLOUD_USER: ${{ vars.VAGRANT_CLOUD_USER }}
VAGRANT_CLOUD_TOKEN: ${{ secrets.VAGRANT_CLOUD_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: Install dependencies
run: |
go install github.com/ericchiang/pup@latest
sudo apt-get update
sudo apt-get install -y libguestfs-tools
- name: Build images
run: ansible-playbook ansible/site.yaml