Website/.gitea/workflows/main.yml
obsidian a02a0c651d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Update main.yml
2024-02-20 11:07:33 +01:00

58 lines
1.8 KiB
YAML

# name: Move Public Folder
# run-name: Le site Meridian se met à jour
# on:
# push:
# branches:
# - main
# jobs:
# deploy:
# runs-on: linux_arm
# - name: Copy images
# run: cp -r static/uploads/screenshots assets/images
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Setup Node
# run: npm ci
# - name: Build TinaCMS
# env:
# TINA_PUBLIC_CLIENT_ID: ${{ secrets.TINA_PUBLIC_CLIENT_ID }}
# TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
# run: npx tinacms build
# - name: Hugo setup
# uses: peaceiris/actions-hugo@v2
# with:
# hugo-version: '0.119.0'
# extended: true
# - name: Build
# run: hugo --minify
# - name: test Public Folder
# run: touch /var/www/my_webapp/test.md
# .gitea/workflows/build.yaml
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: linux_arm
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."