This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
blog/.gitea/workflows/build.yaml

18 lines
507 B
YAML
Raw Normal View History

2024-10-28 18:00:54 -05:00
name: build with hugo and deploy
run-name: ${{ github.actor }} is learning how to build and deploy
on: [push]
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: apt install hugo
- run: hugo
- uses: garygrossgarten/github-action-scp@release
with:
local: public/
remote: ${{ secrets.DEST }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.PASS }}