You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I develop in vscode using a devcontainer docker image, so I used this workflow that is very similar to the github actions default one. The differences are running it in the same container image I develop in and having the plan build step. (the github default one uses their executable that only allows their allowed list of plugins).
# Sample workflow for building and deploying a Jekyll site to GitHub Pagesname: Deploy Jekyll with GitHub Pages dependencies preinstalledon:
# Runs on pushes targeting the default branchpush:
branches: ["master"]# Allows you to run this workflow manually from the Actions tabworkflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pagespermissions:
contents: readpages: writeid-token: write# Allow one concurrent deploymentconcurrency:
group: "pages"cancel-in-progress: truejobs:
build:
runs-on: ubuntu-latestcontainer: mcr.microsoft.com/devcontainers/jekyll:0-bullseyesteps:
- name: Checkoutuses: actions/checkout@v3
- name: Setup Pagesuses: actions/configure-pages@v3
- name: Build with Jekyllrun: | bundle install jekyll build
- name: Upload artifactuses: actions/upload-pages-artifact@v1# Deployment jobdeploy:
environment:
name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}runs-on: ubuntu-latestneeds: buildsteps:
- name: Deploy to GitHub Pagesid: deploymentuses: actions/deploy-pages@v1
This allows me to develop normally with a gitignore that includes the _site folder. And deploys on any push to master.
The text was updated successfully, but these errors were encountered:
Not an issue, but putting this here, in case it helps someone else. (thanks for the great theme btw)
I didn't want to use the UploadToGithub.Rakefile.
Github pages can now be deployed to with github actions publishing with github actions.
I develop in vscode using a devcontainer docker image, so I used this workflow that is very similar to the github actions default one. The differences are running it in the same container image I develop in and having the plan build step. (the github default one uses their executable that only allows their allowed list of plugins).
This allows me to develop normally with a gitignore that includes the
_site
folder. And deploys on any push to master.The text was updated successfully, but these errors were encountered: