test actions
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
6fea2fbdef
commit
3150fb92ef
|
|
@ -1,39 +1,58 @@
|
||||||
name: Move Public Folder
|
# name: Move Public Folder
|
||||||
run-name: Le site Meridian se met à jour
|
# run-name: Le site Meridian se met à jour
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - 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:
|
jobs:
|
||||||
deploy:
|
Explore-Gitea-Actions:
|
||||||
runs-on: linux_arm
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
- name: Copy images
|
|
||||||
run: cp -r static/uploads/screenshots assets/images
|
|
||||||
|
|
||||||
steps:
|
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
|
uses: actions/checkout@v3
|
||||||
|
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||||
- name: Setup Node
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
run: npm ci
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
- name: Build TinaCMS
|
ls ${{ github.workspace }}
|
||||||
env:
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
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
|
|
||||||
Loading…
Reference in New Issue
Block a user