We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've created a simple GitHub Pages Workflow to deploy this template.
Update the config.rb (See Middleman Github Pages - Project Page Path Issues)
config.rb
activate :relative_assets set :relative_links, true
Create a deploy.yml file in the .github/workflows/ folder.
deploy.yml
.github/workflows/
name: Deploy on: workflow_dispatch: push: branches: [main] paths: - "source/**" # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: write pages: write jobs: build_and_deploy: name: Build & Deploy runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up 💎 Ruby 3.2.0 uses: ruby/setup-ruby@v1 with: ruby-version: 3.2.0 # bundler-cache: true - name: Install Dependencies run: | echo 'Installing bundles...' gem install bundler bundle install bundle list | grep "middleman (" - name: Build run: bundle exec middleman build - name: Deploy uses: peaceiris/[email protected] with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: build
Would it be worth adding this to the Documentation Site?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've created a simple GitHub Pages Workflow to deploy this template.
Update the
config.rb
(See Middleman Github Pages - Project Page Path Issues)Create a
deploy.yml
file in the.github/workflows/
folder.Would it be worth adding this to the Documentation Site?
The text was updated successfully, but these errors were encountered: