You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#This workflow automatically updates my go/docker clonable repo page everytime I update my README.md with additional work completed that I want to showcase.
2
+
#This is the name of the workflow - used under the Actions tab
3
+
name: Deploy go-docker-githubactions-pipeline README.md updates to GitHub pages website
4
+
#This is workflow name - will appear in the list of workflow runs
5
+
run-name: Go Pipeline
6
+
#Trigger for the workflow - in otherwords, what causes the workflow to kick off
7
+
on:
8
+
push:
9
+
branches:
10
+
- main
11
+
paths:
12
+
- 'README.md'
13
+
#Groups all jobs associated with this workflow together
14
+
jobs:
15
+
build:
16
+
#Specifies the type of VM to create and what OS it runs
17
+
runs-on: ubuntu-latest
18
+
#Steps involved with the jobs the workflow runs
19
+
steps:
20
+
#Step1 - Checks out the repo and clones to the VM
21
+
- name: Checkout Repository
22
+
#Most recent version of actions/checkout - checksout repo to the runner
23
+
uses: actions/checkout@v5
24
+
25
+
#Step2 - Updates content of main page using the peaceiris tool
26
+
- name: Deploy from README.md
27
+
uses: peaceiris/actions-gh-pages@v3
28
+
#Configuration variables needed for the job to run
29
+
with:
30
+
#Temp authentication token needed for the job to run
0 commit comments