Skip to content

Commit

Permalink
chore: rename master branch to main (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock authored Jun 9, 2023
1 parent 668a4b8 commit 6db1aad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 75 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test and deploy
on:
push:
branches:
- master
- main
tags:
- v*
pull_request: {}
Expand Down Expand Up @@ -55,10 +55,10 @@ jobs:
- name: Set release or dev mode
id: release_mode
run: |
if [ "$GITHUB_REF" == "refs/heads/master" ]; then
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
echo "::set-output name=qs_branch::dev"
else
echo "::set-output name=qs_branch::master"
echo "::set-output name=qs_branch::main"
echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
fi
- name: Download build image artifact
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Update and push quickstart repo
run: |
set -e
if [ "$GITHUB_REF" != "refs/heads/master" ]; then
if [ "$GITHUB_REF" != "refs/heads/main" ]; then
GITHUB_TAG=${GITHUB_REF/refs\/tags\//}
echo "GitHub Tag: $GITHUB_TAG"
fi
Expand Down
71 changes: 0 additions & 71 deletions docker-deploy.sh

This file was deleted.

0 comments on commit 6db1aad

Please sign in to comment.