Files
gitea-runner/.gitea/workflows/demo.yaml
2023-11-13 16:39:56 +01:00

31 lines
2.0 KiB
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event. Test 2"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Checkout private tools
uses: actions/checkout@v3
with:
repository: staffadmin/gitea-runner
persist-credentials: false
ssh-strict: false
#token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
ssh-key: ${{ secrets.PRIVATE2_KEY }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
#ssh-known-hosts: 'gitea.jingoh.fr ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/nuMf/pWy0SUcYkt2LaH3gC4+BDj6rJ9Wg3EW8SVmLGE+WdbDbC61ZJry7NI1PFd5twFr2WJfOtxB/OQiP5kqL4bJfFSmqALA0MnRVdqo1Ri1kY2HhvrGxG0MrQL/n7afVR/HtSf6i5WWnbWcjMAx9u+2mR5wFFgvf66ZnICBlSLu/sfAX4GELDnBfXnor0N80K0Ajyw53koEthwBEM9NfaxOtpLR2jqsW7NZvzF1nwmhKLhp51ElD/y82gEzPlQwShUpdUQMiP1H90ozsb2h3zyCPc+OaUzMeuCrlP8c20zilmsiEvEEoyP2vzvArE+iLcKmndZ1YRxfiL1IjqZmpg7UrmXEPyZgV5OzBGcFYh8liCupxjCltwuQV9qy3bRBBB8mWds6EON8O1ufqI682Ht9JfV8vrUHa8tumZABP7yNfs3TLFpnZ2LcBEPVkAVRFDkF0iAHRR+aoKkc+8uKbigPYHBiJ2Yk0Nb0i+z+fWgjeWainIc59aDD6KmRI5vEorgVXK9EcE2Oa+qqnpexkDFbrxSFuoG/Gq/X0iuc3/e2oAw5u6bHTXC3CyEnGqJDGQ4XN1gT2SIDvDuFS1kJY7nBxSB7zR5HIEAr0aOQSxpOiFUQVnT6wyWJo91psgdzJOKypTRtM2wUIc9xg24q9hKSRZkgrq9OgdDND6y1SQ=='
# path: test
# - name: Check out repository code
# uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.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 ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."