Update main.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 27s

This commit is contained in:
obsidian 2024-02-20 11:10:03 +01:00
parent a02a0c651d
commit 2d0c8315ea

View File

@ -9,7 +9,6 @@
# jobs: # jobs:
# deploy: # deploy:
# runs-on: linux_arm # runs-on: linux_arm
# - name: Copy images # - name: Copy images
# run: cp -r static/uploads/screenshots assets/images # run: cp -r static/uploads/screenshots assets/images
@ -45,14 +44,19 @@ jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: linux_arm runs-on: linux_arm
steps: 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 - 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." - run: cp -r static/uploads/screenshots assets/images
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - run: npm ci
- name: List files in the repository - name: Build TinaCMS
run: | env:
ls ${{ github.workspace }} TINA_PUBLIC_CLIENT_ID: ${{ secrets.TINA_PUBLIC_CLIENT_ID }}
- run: echo "🍏 This job's status is ${{ job.status }}." 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
- run: hugo --minify
- run: touch /var/www/my_webapp/test.md