work.suroh.tk/.gitea/workflows/deploy.yml

25 lines
519 B
YAML

name: work.suroh.tk deploy
run-name: ${{ github.action_repository }} is being built and deployed
on:
push:
branches:
- 'main'
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Clone code to runner
uses: actions/checkout@v4
- name: Move to directory
run: cd ${{ github.workspace }}
- name: Install dependencies
run: npm i
- name: Build 11ty site
run: npm run build && cd _site
- name: Check build directory
run: pwd