Skip to content

Commit

Permalink
update ruby action
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Nov 8, 2023
1 parent 5a4f532 commit 8c5f688
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: check out
uses: actions/checkout@v1

- name: Setup ruby
uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.x'
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Setup Asciidoctor
run: |
Expand All @@ -42,5 +42,5 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
23 changes: 23 additions & 0 deletions site/config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,26 @@ params:
taxonomies:
tag: tags
publishDir: "../public"
security:
enableInlineShortcodes: false
exec:
allow:
- ^(dart-)?sass(-embedded)?$
- ^go$
- ^npx$
- ^postcss$
- ^asciidoctor$
osEnv:
- (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG)$
funcs:
getenv:
- ^HUGO_
- ^CI$
goTemplates:
allowActionJSTmpl: false
http:
mediaTypes: null
methods:
- (?i)GET|POST
urls:
- .*

0 comments on commit 8c5f688

Please sign in to comment.