-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (27 loc) · 999 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: main
on:
push: # All branches and tags
schedule:
# Runs automatically on the 27th of every month at 05:30 UTC. This is
# because it has to run after https://github.com/dmotte/vagrant-ansiblebox
- cron: "30 05 27 * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
job:
uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main
with:
# We use this virtual environment because it supports nested
# virtualization.
# See https://github.com/actions/virtual-environments/issues/433 for more
# information
runs-on: macos-12
script: >
brew install coreutils;
BOX_AUTHOR=dmotte BOX_NAME=vagrantbox
BOX_DESCRIPTION='Debian Vagrant box with Vagrant and VirtualBox for
nested virtualization (github.com/dmotte/vagrant-vagrantbox)'
bash "$(realpath "$GITHUB_ACTION_PATH/../../scripts/cicd/vagrant-box.sh")"
secrets:
secret01: ${{ secrets.VAGRANTCLOUD_TOKEN }}