Sha256: d7e9648c945bafa738b4bc51020e066b2b90ad852a884cacd531190a43f9d8f6

Contents?: true

Size: 766 Bytes

Versions: 15

Compression:

Stored size: 766 Bytes

Contents

# frozen_string_literal: true

`bundle lock --add-platform x86_64-linux`
copy_file in_templates_dir("gh-pages.yml"), ".github/workflows/gh-pages.yml"

# rubocop:disable Layout/LineLength
say "🎉 A GitHub action to deploy your site to GitHub pages has been configured!"
say ""

say "🛠️  After pushing the action, go to your repository settings and configure GitHub Pages to deploy from GitHub Actions."
say ""

say "You'll likely also need to set `base_path` in your `bridgetown.config.yml` to your repository's name. If you do this you'll need to use the `relative_url` helper for all links and assets in your HTML."
say "If you're using esbuild for frontend assets, edit `esbuild.config.js` to update `publicPath`."
say ""
# rubocop:enable Layout/LineLength

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta4 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.4 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.3 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.2 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.1 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.0 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.2.0 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/configurations/gh-pages.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/configurations/gh-pages.rb