ADD replace to ip

This commit is contained in:
maximo tejeda 2024-08-11 22:04:51 -04:00
parent cf6c90723a
commit b3f262a334

View File

@ -1,7 +1,6 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
@ -9,7 +8,8 @@ jobs:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: sudo git config --system --add url.git@gitea:/maximo.insteadOf https://github.com/maximotejeda
- name: Add replacement for github download
- run: sudo git config --system --add url.git@192.168.0.150:/maximo.insteadOf https://github.com/maximotejeda
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."