19 lines
685 B
YAML
19 lines
685 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea/runner-images:ubuntu-latest
|
|
steps:
|
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
- run: echo "runner arch is ${{ runner.arch }}"
|
|
- name: Check out repository code
|
|
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
|
|
- name: List files
|
|
run: ls -la
|
|
- name: docker command
|
|
run: docker ps -a |