fix domain
This commit is contained in:
parent
f287959055
commit
aea004744c
|
@ -1,7 +1,12 @@
|
||||||
name: Gitea Actions Demo
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
env:
|
||||||
|
# DOCKER_REGISTRY: docker.io
|
||||||
|
# DOCKER_USERNAME: softyouling
|
||||||
|
# 此处可修改为你任意 docker 镜像仓库地址和用户名
|
||||||
|
|
||||||
|
DOMAIN: gitea.lntu.edu.cn
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: k8s # <-- Used runner label
|
runs-on: k8s # <-- Used runner label
|
||||||
|
@ -14,9 +19,9 @@ jobs:
|
||||||
echo "nameserver 180.184.1.1" >/etc/resolv.conf
|
echo "nameserver 180.184.1.1" >/etc/resolv.conf
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
|
||||||
apk update --no-cache && npm config set registry https://registry.npmmirror.com
|
apk update --no-cache && npm config set registry https://registry.npmmirror.com
|
||||||
rm -rf /etc/resolv.conf
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
|
|
Loading…
Reference in New Issue