File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Rebuild and publish new ubcdsci/py-intro-to-ds image on DockerHub
2
2
on :
3
3
push :
4
4
branches :
5
- - dev
5
+ - main
6
6
paths :
7
7
- Dockerfile
8
8
jobs :
@@ -11,11 +11,11 @@ jobs:
11
11
permissions :
12
12
contents : write
13
13
steps :
14
- - name : Checkout dev
14
+ - name : Checkout main
15
15
uses : actions/checkout@v3
16
16
with :
17
17
fetch-depth : ' 0'
18
- ref : ' dev '
18
+ ref : ' main '
19
19
- name : Rebuild and publish image
20
20
id : rebuild
21
21
uses : elgohr/Publish-Docker-Github-Action@v5
@@ -29,12 +29,12 @@ jobs:
29
29
run : |
30
30
git config --local user.email "[email protected] "
31
31
git config --local user.name "GitHub Action"
32
- git pull origin dev
32
+ git pull origin main
33
33
sed 's/ubcdsci\/py-intro-to-ds:[[:alnum:]]\+/ubcdsci\/py-intro-to-ds:${{ steps.rebuild.outputs.snapshot-tag }}/g' build_html.sh > build_html.tmp && mv build_html.tmp build_html.sh
34
34
git add build_html.sh
35
35
git commit -m "update build_html.sh script with new docker image"
36
36
- name : Push changes to build scripts
37
37
uses : ad-m/github-push-action@master
38
38
with :
39
39
github_token : ${{ secrets.GITHUB_TOKEN }}
40
- branch : ' dev '
40
+ branch : ' main '
You can’t perform that action at this time.
0 commit comments