-
Notifications
You must be signed in to change notification settings - Fork 10
Jekyll build/deploy workflow #86
New issue
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
Open
0xdevalias
wants to merge
14
commits into
master
Choose a base branch
from
jekyll-build-deploy-workflow
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a9390f7
initial jekyll build/deploy workflow
0xdevalias 7a78104
allow workflow to trigger from this branch for testing purposes
0xdevalias dc2a10f
install system dependencies required to compile native gems
0xdevalias 6f229a6
try removing nmatrix
0xdevalias 0962d23
try removing gsl
0xdevalias ce195f0
add jekyll --profile arg
0xdevalias ba396ed
try without jekyll --lsi arg
0xdevalias e05b0b2
restore --lsi option + gsl/nmatrix gems
0xdevalias 0f2c882
add JEKYLL_GITHUB_TOKEN env
0xdevalias fbd61d7
use JEKYLL_GITHUB_TOKEN_PAT secret in JEKYLL_GITHUB_TOKEN env
0xdevalias 41e8aad
add gh-pages deploy step to workflow with test branch
0xdevalias 9e854b2
try storing current date in an output
0xdevalias 68b59e9
use current date output in site deploy commit message
0xdevalias 605ee6b
improve site deploy commit message
0xdevalias File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
initial jekyll build/deploy workflow
- Loading branch information
commit a9390f76a9b7c4a8fcf7e01e28c85dad6e495d34
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,46 @@ | ||
| # name: Jekyll deploy | ||
|
|
||
| # on: [push] | ||
|
|
||
| # jobs: | ||
| # build_and_deploy: | ||
| # runs-on: ubuntu-latest | ||
| # steps: | ||
| # - uses: actions/checkout@v1 | ||
| # - name: Build & Deploy to GitHub Pages | ||
| # env: | ||
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| # GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} | ||
| # GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} | ||
| # uses: BryanSchuetz/jekyll-deploy-gh-pages@master | ||
| # References | ||
| # https://github.com/limjh16/jekyll-action-ts/blob/master/.github/workflows/workflow.yml | ||
|
|
||
| name: Build and deploy Jekyll site | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths-ignore: | ||
| - .cache/** | ||
| - .github/** | ||
| - _drafts/** | ||
| - _draftsOldTumblr/** | ||
| - _writing/** | ||
| - README.md | ||
| - PUBLISHING.md | ||
|
|
||
| jobs: | ||
| jekyll: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: 📂 checkout | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: 💎 setup ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: .ruby-version | ||
|
|
||
| - name: 🔨 install dependencies & build site | ||
| uses: limjh16/jekyll-action-ts@v2 | ||
| with: | ||
| enable_cache: true | ||
| # format_output: true | ||
| custom_opts: '--lsi' | ||
|
|
||
| # - name: 🚀 deploy | ||
| # uses: peaceiris/actions-gh-pages@v3.6.4 | ||
| # with: | ||
| # github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| # publish_dir: ./_site | ||
| # publish_branch: gh-pages | ||
| # commit_message: ${{ github.event.head_commit.message }} | ||
| # full_commit_message: ${{ github.event.head_commit.message }} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to enable this? Otherwise, remove it.