palette-template/.gitea/workflows/test.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 10: mapping key "run" already defined at line 9 line 11: mapping key "run" already defined at line 9 line 11: mapping key "run" already defined at line 10
2024-01-18 14:15:02 +00:00

23 lines
No EOL
654 B
YAML

name: Gitea Actions
run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
on: [push]
jobs:
build and deploy:
steps:
- name: check folder
run: pwd
run: echo hello world
run: ls -a
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
- name: Build
run: hugo --minify --config hugo.toml
- 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