Skip to content

Commit

Permalink
Update Ruby version to 3.0 and create CNAME file for GitHub Pages dep…
Browse files Browse the repository at this point in the history
…loyment

- Update the Ruby version in the workflow to 3.0
- Add a step to create a CNAME file with the value 'mastering-bitcoin.doge.tg' in the output directory
- Deploy the updated files to GitHub Pages using peaceiris/actions-gh-pages@v3
  • Loading branch information
awesome-doge committed Jan 4, 2024
1 parent 5305531 commit 13aa494
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.0'

- name: Install Asciidoctor
run: gem install asciidoctor
Expand All @@ -28,9 +28,11 @@ jobs:
- name: Copy Images
run: cp -r images output/

- name: Create CNAME File
run: echo 'mastering-bitcoin.doge.tg' > output/CNAME

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output

0 comments on commit 13aa494

Please sign in to comment.