Add deploy to Neocities step to Github action

master
Quang Thang 2 years ago
parent 3edfbe9cb1
commit 2062b86097
  1. 7
      .github/workflows/ci-master.yml
  2. 6
      .github/workflows/ci.yml

@ -19,6 +19,13 @@ jobs:
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:latest /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init"
- name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@master
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: _site
jekyll-3-8-5:
name: Build Jekyll site (v3.8.5)
runs-on: ubuntu-latest

@ -16,6 +16,12 @@ jobs:
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:latest /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init"
- name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@master
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: _site
jekyll-3-8-5:
name: Build Jekyll site (v3.8.5)

Loading…
Cancel
Save