diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 33aa1dd..6806331 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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 }}." \ No newline at end of file