diff --git a/.gitea/workflows/split_runner.yaml b/.gitea/workflows/split_runner.yaml index 011693d..bc6d272 100644 --- a/.gitea/workflows/split_runner.yaml +++ b/.gitea/workflows/split_runner.yaml @@ -21,31 +21,14 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - name: give permissions to spotify.xapk - run: | - chmod 777 ${{ gitea.workspace }}/data/spotify.xapk - - name: copy spotify.xapk - run: | - cp ${{ gitea.workspace }}/data/spotify.xapk ${{ gitea.workspace }}/data/new_spotify.xapk - - name: check permissions to spotify.xapk - run: | - ls -alh ${{ gitea.workspace }}/data/ - 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/spotify.xapk:/mnt/data/spotify.xapk - run: | - /xapktoapk/spotify.xapk -# /spotify.xapk - -# image: alpine -# #options: -v /workspace/pi-ux-ce/revanced_manager/data/spotify.xapk:/mnt/data/spotify.xapk -# options: --mount type=bind,src=/workspace/pi-ux-ce/revanced_manager/data/,dst=/mnt/test/ -# run: | -# ls -alh /mnt/test/ -# ls -alh / -# pwd -# find /mnt/test/ + options: -v ${{ gitea.workspace }}/data/:/mnt/data/ + - name: curl + uses: enflo/curl-action@master + with: + curl: {{ 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 }}." diff --git a/data/split.txt b/data/split.txt index 077acb2..04612a9 100644 --- a/data/split.txt +++ b/data/split.txt @@ -22,3 +22,4 @@ Wed May 28 11:25:20 AM BST 2025 Wed May 28 11:29:57 AM BST 2025 Wed May 28 11:33:47 AM BST 2025 Wed May 28 11:35:44 AM BST 2025 +Wed May 28 02:54:51 PM BST 2025