ajout workflow gitea
This commit is contained in:
parent
0388d64b2b
commit
dc761913fc
1 changed files with 19 additions and 0 deletions
19
.gitea/workflows/test.yml
Normal file
19
.gitea/workflows/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Gitea Actions
|
||||||
|
run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build and deploy:
|
||||||
|
steps:
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: latest
|
||||||
|
extended: true
|
||||||
|
- name: Build
|
||||||
|
run: hugo --minify
|
||||||
|
- name: Deploy
|
||||||
|
env:
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
run: hugo deploy --config hugo.toml
|
Loading…
Reference in a new issue