View cd.yml
name: CD | |
# Trigers when production branch is updated. | |
on: | |
push: | |
branches: [ staging ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: |
View ci.yml
name: CI | |
# Trigers on new pull requests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Basic interactive video with HTML5 and vanilla JavaScript</title> | |
</head> | |
<body> | |
<!-- Read my blog post on interactive videos: https://mostlydevstuff.com/2018/basic-interactive-video-with-html5-and-javascript/ --> | |
<style> |