Skip to content

Commit ad21546

Browse files
authored
chore: migrate ci/cd to devsoc-unsw from csesoc
1 parent c31be22 commit ad21546

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
- name: Checkout repository
5555
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5656
with:
57-
repository: csesoc/deployment
58-
ref: migration
57+
repository: devsoc-unsw/deployment
58+
ref: dev
5959
token: ${{ secrets.GH_TOKEN }}
6060
- name: Install yq
6161
uses: mikefarah/yq@v4.40.5
@@ -66,10 +66,10 @@ jobs:
6666
git config user.name "CSESoc CD"
6767
git config user.email "technical@csesoc.org.au"
6868
git checkout -b update/tt-scraper/${{ github.sha }}
69-
yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/csesoc/timetable-api:${{ github.sha }}"' projects/timetable-scraper/deploy.yml
70-
yq -i '.spec.jobTemplate.spec.template.spec.containers[0].image = "ghcr.io/csesoc/timetable-scraper:${{ github.sha }}"' projects/timetable-scraper/cronjob.yml
69+
yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/devsoc-unsw/timetable-api:${{ github.sha }}"' projects/timetable-scraper/deploy.yml
70+
yq -i '.spec.jobTemplate.spec.template.spec.containers[0].image = "ghcr.io/devsoc-unsw/timetable-scraper:${{ github.sha }}"' projects/timetable-scraper/cronjob.yml
7171
git add .
7272
git commit -m "feat(tt-scraper): update images"
7373
git push -u origin update/tt-scraper/${{ github.sha }}
74-
gh pr create -B migration --title "feat(tt-scraper): update image" --body "Updates the images for the timetable-scraper deployment to commit csesoc/timetable-scraper@${{ github.sha }}." > URL
74+
gh pr create -B dev --title "feat(tt-scraper): update image" --body "Updates the images for the timetable-scraper deployment to commit devsoc-unsw/timetable-scraper@${{ github.sha }}." > URL
7575
gh pr merge $(cat URL) --squash -d

0 commit comments

Comments
 (0)