update +_posts/Finance/2024-10-04-股票理财.md #1140
This file contains 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
name: Build and Deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Set Ruby 3.1 | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- name: Install and Build | |
run: | | |
gem install bundler | |
bundle install | |
bundle exec jekyll build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: built | |
FOLDER: _site | |
CLEAN: true |