mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
🚀 create main.yml
Deploys on push to main to github pages.
This commit is contained in:
parent
0f14171b6a
commit
afdc5fc7a1
1 changed files with 18 additions and 0 deletions
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Zola on GitHub Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Publish site
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout main
|
||||||
|
uses: actions/checkout@v3.0.0
|
||||||
|
- name: Build and deploy
|
||||||
|
uses: shalzz/zola-deploy-action@v0.17.2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue