Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8c55868

Browse files
committedOct 28, 2019
Add CNAME in action script
1 parent 1e47557 commit 8c55868

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.github/workflows/deploy.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ jobs:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
1717
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
18+
SITE_NAME: "tempfiles.carlgo11.com"
1819
run: |
1920
cd frontend/
2021
remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" && \
2122
remote_branch="gh-pages" && \
2223
git init && \
2324
git config user.name "bot" && \
2425
git config user.email "bot@users.noreply.github.com" && \
26+
cat "${SITE_NAME}" > CNAME
2527
git add . && \
2628
echo -n 'Files to Commit:' && ls -l | wc -l && \
2729
git commit -m'Push to GitHub Pages' > /dev/null 2>&1 && \

‎frontend/CNAME

-1
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.