2024-01-19 14:45:12 +00:00
|
|
|
# name: Gitea Actions
|
|
|
|
# run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
|
|
|
|
# on: [push]
|
2024-01-18 14:02:29 +00:00
|
|
|
|
2024-01-19 14:45:12 +00:00
|
|
|
# jobs:
|
|
|
|
# build and deploy:
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v3
|
|
|
|
# - run: |
|
|
|
|
# pwd
|
|
|
|
# echo 'hello world'
|
|
|
|
# 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
|