Add automatic mirror sync before building
This commit is contained in:
parent
b40e26554c
commit
67dae155ce
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue