Skip to content

Commit

Permalink
fix(website): cname not being added on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Dec 7, 2024
1 parent 7c12067 commit 2a0a1e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
yarn build
cp dist/index.html dist/404.html
- name: Add Website cname
run: echo "ulixee.org" > website/dist/CNAME

- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
Expand Down
13 changes: 3 additions & 10 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,12 @@ for dir in "${dirs[@]}"; do
git tag -f "$TAG";
fi

# if platform, create a release branch before push
if [[ "$dir" == "platform" ]]; then
echo "Creating release branch for $dir... $(pwd)";
git checkout -b release;
git push origin release --tags;
echo "You need to create a DRAFT release at https://github.com/ulixee/platform/releases/new";
read -p "Press enter only once you've once all assets are built here...";
else
git push origin main --tags --no-verify;
fi
git push origin main --tags --no-verify;

wait 5;

# TODO: add desktop publishing (create a new branch with a tag and push it - will create new assets)

if [[ "$dir" == "hero" ]]; then
echo "You need to approve the DRAFT release at https://github.com/ulixee/hero/releases/tag/$TAG";
read -p "Press enter only once you've done that (npm needs the assets built)...";
Expand Down

0 comments on commit 2a0a1e6

Please sign in to comment.