diff options
author | Scott Lahteine <github@thinkyhead.com> | 2021-04-09 03:53:56 +0300 |
---|---|---|
committer | Scott Lahteine <github@thinkyhead.com> | 2021-04-09 03:53:56 +0300 |
commit | c69c7c75d12da740a0c963cb8ae946fb5d469598 (patch) | |
tree | 6ff262e7dc547163ea8e6d8cbc46f44b0b0a0050 /.github | |
parent | a938258b4839b153ebd325cd29efe7ed269f7ff0 (diff) |
New deploy method
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/jekyll-pub.yml | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/.github/workflows/jekyll-pub.yml b/.github/workflows/jekyll-pub.yml index 90bad75c..406c7bbd 100644 --- a/.github/workflows/jekyll-pub.yml +++ b/.github/workflows/jekyll-pub.yml @@ -12,21 +12,11 @@ on: - deploy jobs: - deploy_site: - runs-on: ubuntu-latest + deploy-site: if: github.repository == 'MarlinFirmware/MarlinDocumentation' + runs-on: ubuntu-latest steps: - - name: Use Ruby >=2.4.4 - uses: actions/setup-ruby@v1 - with: - ruby-version: '>=2.4.4' - - name: Check out 'deploy' - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: helaili/jekyll-action@v2 with: - ref: deploy - - name: Deploy Site - uses: BryanSchuetz/jekyll-deploy-gh-pages@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} - GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} + token: ${{ secrets.GITHUB_TOKEN }} |