test actions
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
obsidian 2024-02-20 11:04:53 +01:00
parent 6fea2fbdef
commit 3150fb92ef

View File

@ -1,39 +1,58 @@
name: Move Public Folder
run-name: Le site Meridian se met à jour
# name: Move Public Folder
# run-name: Le site Meridian se met à jour
on:
push:
branches:
- main
# 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:
deploy:
runs-on: linux_arm
- name: Copy images
run: cp -r static/uploads/screenshots assets/images
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- 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
- 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
- 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 }}."