Skip to content

Commit

Permalink
run a different config
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowlion committed Apr 15, 2020
1 parent 5cabc7c commit 304dbfe
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,25 @@ on:
- master

jobs:
build:
name: Deploy to Github Pages
runs-on: ubuntu-latest
deploy:
runs-on: ubuntu-18.04
steps:
- name: Checkout master
uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Deploy the site
uses: benmatselby/hugo-deploy-gh-pages@master
env:
HUGO_VERSION: 0.69.0
TARGET_REPO: shadowlion/personal
TOKEN: ${{ secrets.TOKEN }}
HUGO_ARGS: '-t hugo-devresume-theme'
CNAME: shadowlion.github.io
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: ./public

0 comments on commit 304dbfe

Please sign in to comment.