Add automatic mirror sync before building

This commit is contained in:
askiiart 2023-09-06 15:42:49 -05:00
parent b40e26554c
commit 67dae155ce

View file

@ -4,7 +4,12 @@ name: default
steps: steps:
- name: Make semi-static build with pyinstaller (NOT actually static) - name: Make semi-static build with pyinstaller (NOT actually static)
image: python:latest image: python:latest
environment:
GITEA_TOKEN:
from_secret: gitea_token
commands: commands:
- 'curl -X "POST" "https://git.askiiart.net/api/v1/repos/askiiart/AlwaysDungeons/mirror-sync?access_token=${GITEA_TOKEN}" -H "accept: application/json" -d ""'
- git pull
- git apply docker.patch - git apply docker.patch
- apt-get update - apt-get update
- apt-get install binutils -y - apt-get install binutils -y