Skip to content

Commit

Permalink
Add CNAME in action script
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Oct 28, 2019
1 parent 1e47557 commit 0ad9c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
SITE_NAME: "tempfiles.carlgo11.com"
run: |
cd frontend/
remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" && \
remote_branch="gh-pages" && \
git init && \
git config user.name "bot" && \
git config user.email "[email protected]" && \
echo "${SITE_NAME}" > CNAME
git add . && \
echo -n 'Files to Commit:' && ls -l | wc -l && \
git commit -m'Push to GitHub Pages' > /dev/null 2>&1 && \
Expand Down
1 change: 0 additions & 1 deletion frontend/CNAME

This file was deleted.

0 comments on commit 0ad9c8b

Please sign in to comment.