Skip to content

2024-10-29のJS: Svelte 5、MSW v2.6.0(WebSockets API)、State of CSS 2024 … #729

2024-10-29のJS: Svelte 5、MSW v2.6.0(WebSockets API)、State of CSS 2024 …

2024-10-29のJS: Svelte 5、MSW v2.6.0(WebSockets API)、State of CSS 2024 … #729

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'develop'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: yarn install
- name: Test
run: npm run test:ci
- name: Build
run: npm run build
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
- name: Bundle install
run: bundle install
- name: Build Jekyll
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/develop'
with:
github_token: ${{ secrets.SHARED_BOT_GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: master
# - uses: jeffreytse/[email protected]
# with:
# provider: 'github'
# token: ${{ secrets.SHARED_BOT_GITHUB_TOKEN }} # rss-to-twitter require PAT for page_build event
# branch: 'master' # Default is gh-pages for github provider
# jekyll_src: './' # Default is root directory
# jekyll_cfg: '_config.yml' # Default is _config.yml
# jekyll_baseurl: '' # Default is according to _config.yml
# bundler_ver: '~>2.4.0' # Default is latest bundler version
# cname: 'jser.info' # Default is to not use a cname