Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
ci: added deployment script
Browse files Browse the repository at this point in the history
re #28
  • Loading branch information
victor-pogor committed Nov 12, 2020
2 parents 00a25b9 + 8753d1c commit 656a22c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ on:
jobs:
deploy-blog:
name: Deploying the static pages to the FTP server
runs-on: ubuntu-latest
container: klakegg/hugo:ext-ubuntu
runs-on: ubuntu-20.04
container: klakegg/hugo:ext-alpine
defaults:
run:
working-directory: CodeIT
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- name: Check Hugo version
run: hugo version
- name: Build static pages
run: hugo
run: hugo --source=exampleSite -v
- name: Deploy static pages
uses: sebastianpopp/ftp-action@releases/v2
with:
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ features = [
"syntax-highlighting",
"SEO Optimized"
]
min_version = "0.62.0"
min_version = "0.78.1"

[author]
name = "Victor Pogor"
Expand Down

0 comments on commit 656a22c

Please sign in to comment.