Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 6ba9e8c

Browse files
authored
Merge pull request #22 from aws-user-group-nz/21-add-awscd-oceania-cfp-video
docs: add awscd oceania cfp image
2 parents 6b0a6d2 + 3ddf763 commit 6ba9e8c

File tree

8 files changed

+263
-53
lines changed

8 files changed

+263
-53
lines changed

.github/workflows/pages.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
paths-ignore:
7-
- 'assets/**' # assets changes are handled via update-assets workflow then re-run deploy via workflow_run
7+
- "assets/**" # assets changes are handled via update-assets workflow then re-run deploy via workflow_run
88
workflow_run:
9-
workflows: [ "Update Assets JSON" ]
10-
types: [ completed ]
9+
workflows: ["Update Assets JSON"]
10+
types: [completed]
1111
workflow_dispatch:
1212

1313
permissions:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Node.js (for fallback)
3434
uses: actions/setup-node@v4
3535
with:
36-
node-version: '22'
36+
node-version: "22"
3737
- name: Generate assets.json if missing (fallback)
3838
run: |
3939
if [ ! -f "assets.json" ]; then
@@ -42,7 +42,7 @@ jobs:
4242
fi
4343
- name: Create symlinks for direct access
4444
run: |
45-
mkdir -p icons logos images
45+
mkdir -p icons logos images videos
4646
if [ -d "assets/icons" ]; then
4747
cp -r assets/icons/* icons/
4848
fi
@@ -52,12 +52,15 @@ jobs:
5252
if [ -d "assets/images" ]; then
5353
cp -r assets/images/* images/
5454
fi
55+
if [ -d "assets/videos" ]; then
56+
cp -r assets/videos/* videos/
57+
fi
5558
- name: Setup Pages
5659
uses: actions/configure-pages@v4
5760
- name: Upload artifact
5861
uses: actions/upload-pages-artifact@v3
5962
with:
60-
path: '.'
63+
path: "."
6164
- name: Deploy to GitHub Pages
6265
id: deployment
6366
uses: actions/deploy-pages@v4

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Place your assets in the appropriate subdirectory:
1313
- **Icons**: `assets/icons/` - Small icon files (typically SVG)
1414
- **Logos**: `assets/logos/` - Logo files (typically SVG)
1515
- **Images**: `assets/images/` - Image files (PNG, JPG, WebP, etc.)
16+
- **Videos**: `assets/videos/` - Video files (MP4, WebM, MOV, AVI, MKV, etc.)
1617

1718
### Supported File Formats
1819

@@ -22,6 +23,9 @@ The following formats are supported:
2223
- **PNG** - Raster format with transparency support
2324
- **JPG/JPEG** - Raster format, smaller file size, no transparency
2425
- **WebP** - Modern raster format with excellent compression
26+
- **MP4** (recommended for videos) - Widely supported video format
27+
- **WebM** - Open video format with good compression
28+
- **MOV, AVI, MKV** - Other supported video formats
2529

2630
### Format Conversion
2731

@@ -78,17 +82,20 @@ Assets are automatically made available at shorter, direct URLs:
7882
- Icons: `https://assets.awsug.nz/icons/filename.svg`
7983
- Logos: `https://assets.awsug.nz/logos/filename.svg`
8084
- Images: `https://assets.awsug.nz/images/filename.png`
85+
- Videos: `https://assets.awsug.nz/videos/filename.mp4`
8186

8287
For example:
8388

8489
- `assets/icons/aws-black-orange.svg``https://assets.awsug.nz/icons/aws-black-orange.svg`
8590
- `assets/logos/datacom-primary-blue.svg``https://assets.awsug.nz/logos/datacom-primary-blue.svg`
91+
- `assets/videos/awscd-ocenia-cfp-2026.mp4``https://assets.awsug.nz/videos/awscd-ocenia-cfp-2026.mp4`
8692

8793
**Full URL format:** All assets can be accessed using the full URL path:
8894

8995
- `https://assets.awsug.nz/icons/aws-black-orange.svg`
9096
- `https://assets.awsug.nz/logos/datacom-primary-blue.svg`
9197
- `https://assets.awsug.nz/images/your-image.png`
98+
- `https://assets.awsug.nz/videos/your-video.mp4`
9299

93100
These URLs are created automatically during deployment - no manual configuration needed.
94101

@@ -112,6 +119,10 @@ You can link directly to any asset using its direct URL:
112119

113120
- `https://assets.awsug.nz/images/your-image.png`
114121

122+
**Videos:**
123+
124+
- `https://assets.awsug.nz/videos/your-video.mp4`
125+
115126
### In HTML
116127

117128
Embed an image directly:
@@ -128,6 +139,14 @@ Link to an image (opens in new tab):
128139
</a>
129140
```
130141

142+
Embed a video:
143+
144+
```html
145+
<video src="https://assets.awsug.nz/videos/your-video.mp4" controls>
146+
Your browser does not support the video tag.
147+
</video>
148+
```
149+
131150
### In Markdown
132151

133152
Display an image:
@@ -154,6 +173,10 @@ background-image: url('https://assets.awsug.nz/logos/datacom-primary-blue.svg');
154173

155174
```jsx
156175
<img src="https://assets.awsug.nz/icons/aws-black-orange.svg" alt="AWS Icon" />
176+
177+
<video src="https://assets.awsug.nz/videos/your-video.mp4" controls>
178+
Your browser does not support the video tag.
179+
</video>
157180
```
158181

159182
### Download Links

assets.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,19 @@
470470
"size": 1280,
471471
"description": "Awscd Oceania White White Square Virtual Wide logo asset (1280×1280)"
472472
},
473+
{
474+
"name": "awscd-ocenia-cfp-2026-video",
475+
"type": "video",
476+
"path": "assets/videos/awscd-ocenia-cfp-2026.mp4",
477+
"tags": [
478+
"2026",
479+
"awscd",
480+
"cfp",
481+
"ocenia",
482+
"video"
483+
],
484+
"description": "Awscd Ocenia Cfp 2026 video asset"
485+
},
473486
{
474487
"name": "casey-orr-image",
475488
"type": "image",
984 KB
Binary file not shown.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ <h1><a href="/" class="header-title-link">Visual Assets</a></h1>
5555
<option value="icon">Icons</option>
5656
<option value="image">Images</option>
5757
<option value="logo">Logos</option>
58+
<option value="video">Videos</option>
5859
<option value="illustration">Illustrations</option>
5960
<option value="diagram">Diagrams</option>
6061
<option value="screenshot">Screenshots</option>

0 commit comments

Comments
 (0)