We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd9471b + acd3b43 commit bc9b02cCopy full SHA for bc9b02c
.github/workflows/gh-pages.yml
@@ -10,8 +10,14 @@ jobs:
10
- uses: actions/setup-ruby@v1
11
- run: bundle install
12
- run: bundle exec jekyll build
13
+ - id: cname
14
+ run: |
15
+ if [ ${{ github.event.repository.fork }} = 'false' ]; then
16
+ echo "::set-output name=cname::www.electrode.io"
17
+ fi
18
- uses: peaceiris/actions-gh-pages@v3
19
with:
20
+ cname: ${{ steps.cname.outputs.cname }}
21
commit_message: Deploy
22
github_token: ${{ secrets.GITHUB_TOKEN }}
23
publish_dir: ./_site
CNAME
0 commit comments