Files
revanced_manager/.gitea/workflows/split_runner.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: unmarshal errors: line 33: cannot unmarshal !!map into string

35 lines
1.2 KiB
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
issue_comment:
push:
branches:
- "*"
paths:
- 'data/split.txt'
tags-ignore:
- '*'
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
options: -v ${{ gitea.workspace }}/data/:/mnt/data/
- name: curl
uses: enflo/curl-action@master
with:
curl: {{ --user secrets.USERNAME_GITEA:secrets.PASSWORD_GITEA --upload-file /mnt/data/spotify.xapk https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/spotify-splitted/latest/spotify.xapk }}
- run: echo "🍏 This job's status is ${{ job.status }}."