Skip to content

Commit 180ca63

Browse files
committed
initial workflow for monthly meets
1 parent 9509011 commit 180ca63

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# GitHub Actions Virtual Environments
2+
# https://github.com/actions/virtual-environments/
3+
4+
name: Add Monthly Meet
5+
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
year:
10+
description: 'Year (YYYY)'
11+
type: number
12+
required: true
13+
default: '2025'
14+
month:
15+
description: 'Month (MM)'
16+
type: number
17+
required: true
18+
day:
19+
description: 'Day (DD)'
20+
type: number
21+
required: true
22+
location:
23+
description: 'Location'
24+
type: string
25+
required: true
26+
default: 'Denver, CO'
27+
28+
jobs:
29+
main:
30+
name: Update Events
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: ruby versions
34+
run: |
35+
ruby --version
36+
gem --version
37+
38+
- name: git checkout
39+
uses: actions/checkout@v4
40+
41+
# https://github.com/ruby/setup-ruby
42+
- name: ruby setup
43+
uses: ruby/setup-ruby@v1
44+
with:
45+
bundler-cache: true
46+
47+
- name: verify inputs
48+
run: |
49+
echo "Date: ${{ inputs.year }}-${{ inputs.month }}-${{ inputs.date }}"
50+
echo "Location: ${{ inputs.location }}"
51+
52+
- name: edit events.yml
53+
run: make monthly-meet date="${{ inputs.year }}-${{ inputs.month }}-${{ inputs.date }}" loc="${{ inputs.location }"
54+
55+
- name: commit
56+
run: git status
57+
58+
- name: jekyll build
59+
run: bundle exec jekyll build --verbose --trace

0 commit comments

Comments
 (0)