Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

Oleh Andrushko olich97

🚀
View GitHub Profile
View hugo-example-deploy-prod.yaml
name: deploy-production
# Controls when the action will run. Triggers the workflow on push
# events but only for the main/master branch
on:
push:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
View hugo-example-deploy-preview.yaml
name: deploy-preview
# Controls when the action will run. Triggers the workflow on push
# events but only for the develop branch
on:
push:
branches: [ develop ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel