This repository has been archived on 2025-05-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
hack13-blog/.github/workflows/main.yml
2023-01-22 14:14:31 -05:00

19 lines
No EOL
512 B
YAML

on: push
name: Build and deploy
jobs:
web-deploy:
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@master
- name: Build hugo site
uses: jakejarvis/hugo-build-action@master
with:
args: --minify
- name: Upload files
uses: SamKirkland/FTP-Deploy-Action@4.3.3
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: ./public/